On Wed, 6 Aug 2003, Dave Rolsky wrote:

> I just checked this in, but I'm not sure if it's much faster.  It'd be
> good if someone who knows more about about C could look at the
> implementation and see if there's anything they can think of to improve
> it.  Also, I should probably change the generated code to use the binary
> search method that Flavio's DateTime::LeapSecond generated code uses.

Ok, I did some benchmarks and it looks like date math involving leap
seconds (basically an DateTime object where the time zone is _not_
floating) has sped up about 10% or so, which is definitely a good thing.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to