-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

On 5/11/2009 10:22 AM, David kerber wrote:
> From the quick
> reading I did, I imagine that will give me a bit of a performance hit
> compared to using ThreadLocal, but since I've never used the ThreadLocal
> pattern before, I didn't want to try implementing it on the fly, just to
> fix this issue.  As for whether synchronization would be faster than
> local declaration, I'll try doing some benchmarking at some point.

I don't think that flyweighting SimpleDateFormat objects is worth it.
Most of the time spent in SDF object code will be in the parse() method,
not in the constructor.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkoIiw4ACgkQ9CaO5/Lv0PBsQQCfRi9WI2eqPQ9j0k72FxadZueD
HnMAmwV/9rA9hOZVkUT01coUu4SX1czm
=Qqx7
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to