Re: DateTime::Format::Strptime speed compared to Time::Piece

2004-09-09 Thread Dave Rolsky
On Thu, 9 Sep 2004, Joshua Hoblitt wrote: > You can more then double your performance with DateTime::Format::Strptime by > instantiating a parser object and reusing it. You should also keep in mind > that Time::Piece doesn't really support leapseconds (it may be able to parse > them on some platf

Re: DateTime::Format::Strptime speed compared to Time::Piece

2004-09-09 Thread Joshua Hoblitt
Hi Robin, You can more then double your performance with DateTime::Format::Strptime by instantiating a parser object and reusing it. You should also keep in mind that Time::Piece doesn't really support leapseconds (it may be able to parse them on some platforms if it's using gmtime(3)... haven't

DateTime::Format::Strptime speed compared to Time::Piece

2004-09-09 Thread Robin Phillips
Hi, I have been converting a couple of programs that were using Time::Piece as their date/time handling module, to use DateTime.pm instead. However it seems that DateTime.pm apears to be about 700 times slower than Time::Piece when parsing dates. The little program below takes 15 seconds to d