On Mon, 8 Jun 2009, Bug Menot via RT wrote:
Show quoted text> Please have the DateTime module automatically cache TimeZone objects as
> they are used.
>
> The following url is a benchmarking script demonstrating an order or
> magnitude performance increase when this is done:
>
http://urth.org/~autarch/dt-bench
Uh, that's _my_ benchmark.
Yes, I know it's faster. However, the DateTime module is not in a good
position to decide whether or not to cache the local zone (local zones
change!). Your app is in a much better position to handle this.
A doc patch about the dangers of passing in "time_zone => local"
repeatedly would be welcome, however.
-dave
/*============================================================
http://VegGuide.org http://blog.urth.org
Your guide to all that's veg House Absolute(ly Pointless)
============================================================*/