On Tuesday 04 June 2002 09:24 pm, Gregory Steuck wrote:
> You still pay the price of hashing the string on lookups. I don't
> think they keep the hash value in the String once calculated. And
> since String is a final class you can't do anything about that.

java.lang.String does cache a computer hash value, fyi.

> The component in question needs to be:
>
> * expensive to construct
> * single threaded
> * often used for short periods of time
>
> Can anybody name such a component? Something similar to a database
> server will do ;-)

Since Cocoon is our fav. intensive app, all of its pipeline components are 
single-threaded :)
-pete

-- 
peter royal -> [EMAIL PROTECTED]

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

Reply via email to