On Tue, 7 Jan 2003, Sean Schofield wrote:

> Thanks for the feedback.  FastDateFormat doesn't seem to be as thread
> safe as advertised (at least in the version we are using.)  There are a
> few instances of HashMap (some of which I was already proposing to
> eliminate b/c they are only being used by the getDateTimeInstance, etc.
> methods).
>
> I looked at the FastHashMap as a replacement and I have some major
> misgivings given the dire javadoc warnings and the equally pessimistic
> article they reference.  I don't see a problem with using Hashtable.

Any particular reason not to use a synchronised Map?

I guess it's the trade-off between the speed of a Hashtable and the
nicer-API of a Map.

Hen


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to