Use DateTime::Tiny (and Date::Tiny and Time::Tiny) for improved performance #6278
Labels
performance
Issue identifies a potential performance problem or category
type:enhancement
Proposed improvement, new feature, or extension -- not a defect
The majority of dates don't need calculation (just (de)serialization and user-formatting). DateTime is awfully slow at (de)serializing, although it does it's calculations as correct as possible. For (de)serialization alone, Date(Time)::Tiny are much more suited:
prints:
Changing "timethese" to "cmpthese", the output is:
The text was updated successfully, but these errors were encountered: