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.
In reply to Re: (tye)Re: Date comparisons + Benchmark
by baku
in thread Date comparisons
by cajun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |