Lenny Rachitsky wrote:
I'm trying to improve the performance of some code, and I've found that a lot of the inefficiencies I have are caused by a large number of DateTime object creations.
Do you use every one of these DateTime objects, or are you just creating them all and only using some? If you're only using some of them, have a look at DateTime::LazyInit (which reminds me, I need to release the new version huh?)
Cheers! Rick Measham