From: Jan Svitok Date: 2006-08-16T18:18:20+09:00 Subject: Re: problem with date.succ On 8/15/06, Russ Pridemore wrote: > Any idea why ruby's date class needs to use rational numbers, though? > Every time I'd get into the loop and break out in irb, I'd see a stack > trace pointing to rational.rb... Because the Date is stored as Astronomical Julian Date number (whatever it is, see lib/date.rb comments and source) and the conversion somehow needs it. NB: Due to this, I obtained a decent speedup by caching Date object instead of creating them each time anew.