Daisuke Maki schreef: > <non-attribution by Daisuke Maki>: >> That depends entirely on your application. If you happen to call a >> certain sub (or method) often and with the same parameters, it can be >> worth it. > > Exactly. It depends on your *application*
You forgot the part that mentioned "intermediates". > I'm trying to optimize DateTime::TimeZone itself ;) And I'm suggesting that caching results can be a feasible way to do that. If you find out that a part of the internal calculations slow, then also find out if the same calculation is done frequently, and if so then add caching to that part. -- Affijn, Ruud "Gewoon is een tijger."