None of the Java formats are re-entrant. NSTimestampFormatter is synchronized which is probably why it is not a subclass of SimpleDateFormat and that may cause other issues.

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Jan 28, 2008, at 11:38, Chuck Hill wrote:


Don't forget that you should not cache format as they are not re- entrant.

Is NSTimestampFormatter re-entrant? I have always created and cached them at the Application level. The format is never changed after creation. I have never noticed any problems under load. If NSTimestampFormatter is re-entrant and SimpleDateFormat is not, that is rather more of change.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to