[Rubygems-developers] faster rubygems.rb loading by way of deferred plugin loads, and other resource usage enhancements

John Barnette jbarnette at gmail.com
Fri Jul 9 17:37:39 EDT 2010

On Jul 9, 2010, at 11:36 AM, Charles Oliver Nutter wrote:
> FWIW, I wrote up a blog post last night about how to walk the heap,
> examine memory sizes, and so on using JRuby. One of the items I called
> out were all the Gem::Version objects in memory, and there's other
> offenders. If you'd like to do some of that exploration, I'm happy to
> help.

Evan and I were talking a while ago about changing RubyGems to memoize/reuse Gem::Version, Gem::Dependency, and Gem::Requirement. The burndown I did on them for 1.3.4 made them immutable, so it shouldn't be a huge effort. Interested in poking at that with us?

~ j.

More information about the Rubygems-developers mailing list