Berger, Daniel
3/15/2006 7:27:00 PM
> -----Original Message-----
> From: ara.t.howard@noaa.gov [mailto:ara.t.howard@noaa.gov]
> Sent: Wednesday, March 15, 2006 10:45 AM
> To: ruby-talk ML
> Subject: Re: Time object problems - 1.8.2
>
>
> On Thu, 16 Mar 2006, Greg Lorriman wrote:
>
> > It makes me think that an effort is needed to convert many of the
> > libraries that do basic heavy-lifting, like DateTime and CSV and
> > others, to C libraries.
> >
> > I like the purity of the idea of a "pure Ruby" library, but I am
> > suffering the consequences and even considering jumping to
> Python; the
> > pain is getting to be too much.
>
> check out the speed gains one can get with FasterCSV and
> reconsider - and it's still pure ruby.
>
> regards.
>
> -a
Yep, it's mainly the algorithm, not the language. You should be able to
get a 3-4x improvement in DateTime, for example, just by using an
improved Rational#gcd algorithm (depending on which method you're
using).
Regards,
Dan