On Wed, 18 Aug 2010, Radek Czyz wrote:
Parsing all those SimpleDateFormat strings takes a *long* time. getTimeZone and setTimeZone also show up on profile.

From a quick glance, it seems like all DateFormat creation could be static, or otherwise created up front. Is this correct?

It can't be static, as they're not thread safe :(

Could well be done as a thread local, so it need only happen once for most cases. Could you create a new entry in Jira for this?

Nick

Reply via email to