[Rubygems-developers] [ rubygems-Patches-26180 ] Simplify and speed up Gem::Version::Part

noreply at rubyforge.org noreply at rubyforge.org
Tue Jun 9 18:47:13 EDT 2009


Patches item #26180, was opened at 2009-06-09 15:47
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=577&aid=26180&group_id=126

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Aaron Patterson (aaronp)
Assigned to: Nobody (None)
Summary: Simplify and speed up Gem::Version::Part

Initial Comment:
This patch will simplify and speed up Gem::Version::Part.  A version part can be determined whether it is an alpha? or a numeric? upon initialization and can cache that fact.

This patch determines the type of version on initialization, caches the values, and also defines attributes with attr_reader for increased speed.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=577&aid=26180&group_id=126


More information about the Rubygems-developers mailing list