Patches item #26769, was opened at 2009-07-27 19:34 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=26769&group_id=126
Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Yehuda Katz (wycats) Assigned to: Nobody (None) Summary: Refactor Gem::Version to remove Part and reduce object allocations from 35 to 5 Initial Comment: This patch simplifies the creation of Gem::Version objects by removing the need for Gem::Part (and storing the parts in an Array), lazy-evaluating details as needed, storing the release parts in a separate Array calculated at initialization time, and using a backing Array for Gem::Version instead of a String (so unmarshalling is faster, since it doesn't need to parse the parts again). ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=26769&group_id=126 _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers