You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _format(..) method creates a new GregorianCalendar instance for every invocation. Performance would be better if the calendar is reused across invocations just like what is done with the DateFormats.
Without this optimisation, the performance are roughly the same as the SimpleDateFormat. With the optimisation, the StdDateFormat becomes 300% faster...
The text was updated successfully, but these errors were encountered:
Ok good to know, thank you for measuring it. It sort of makes sense as almost everything to do with date/time handling appears to be.... rather expensive. Need to figure out proper way to achieve that but hopefully is doable.
The
_format(..)
method creates a newGregorianCalendar
instance for every invocation. Performance would be better if the calendar is reused across invocations just like what is done with theDateFormats
.Without this optimisation, the performance are roughly the same as the
SimpleDateFormat
. With the optimisation, theStdDateFormat
becomes 300% faster...The text was updated successfully, but these errors were encountered: