http://www.perlmonks.org?node_id=57398


in reply to (tye)Re: Date comparisons + Benchmark
in thread Date comparisons

A lot of the inefficiency in Date::Manip (in re-parsing) could be eliminated by caching the results in seconds; e.g. using  Date_SecsSince1970GMT to create a hash mapping message ID's to dates in seconds. This lets Date::Manip do the "magic" of normalizing various date formats and TZ's into an "universal" format, but the actual sort & search would now be against a list of (large) integers.