Martin Cooper wrote:
Is there a fast version of java.text.NumberFormat hiding somewhere in Commons Lang that I haven't been able to find? The JDK version of format() actually does synchronisation, and I'm calling it enough that this hurts.
Are you sure that it synchronizes?
From the NumberFormat JavaDoc:
"Number formats are generally not synchronized. It is recommended to create separate format instances for each thread. If multiple threads access a format concurrently, it must be synchronized externally."
Regards,
Andreas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
