diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2025-01-30 15:34:02 +0100 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-02-06 15:57:55 +0900 |
| commit | 7fed6c887d68e1347defcd1364b0ceb5ba18a2b9 (patch) | |
| tree | 8464ef3322a21646fb5b5a89a204a27d95daa2b8 /spec/ruby/core/process | |
| parent | 4c0cf2deed50e4dc9345b119ebd1f6e7f8a9eab8 (diff) | |
[rubygems/rubygems] Remove unnecessary remapping of dependencies
Sometimes we'll resolve using bare `Gem::Dependency` instances rather
than `Bundler::Dependency` instances, which is fine, simpler, and saves
some memory.
When resolving from scratch a Gemfile including only `"gem "rails", "~>
8.0.1"`, I get the following results:
### Before
Total allocated: 277.48 MB (3384318 objects)
Total retained: 117.53 MB (1338657 objects)
### After
Total allocated: 265.06 MB (3186053 objects)
Total retained: 116.98 MB (1302280 objects)
https://github.com/rubygems/rubygems/commit/c6dc2966c5
Diffstat (limited to 'spec/ruby/core/process')
0 files changed, 0 insertions, 0 deletions
