On 3/15/06, Greg Lorriman <temp / lorriman.com> wrote: > > Unfortunately the Date class is horrifically slow. I'm already being > hammered by other slow aspects of ruby, which I can't avoid. So Time it > is! Indeed. I just discovered http://www.recentrambles.com/pragmatic/view/33 from another thread. Interestingly enough, by replacing DateTime with Date in the example, the benchmark comes out about 3 times faster. I guess having to work with hours, minutes, and seconds is expensive. - Dimitri