Yes, please fix :)
I think there may already be an issue open on the single instance /
synchronization / ThreadLocal issue.
Mike
On Thu, May 21, 2009 at 9:52 AM, Shai Erera wrote:
> How much is DateTools in use? I noticed a couple of potential improvements
> to it, which at least for the benchm
How much is DateTools in use? I noticed a couple of potential improvements
to it, which at least for the benchmark package can improve performance:
1. timeToString calls Calendar.getInstance on every call? That's a very
expensive call to make. Why not store it as a static member? We always call
it