harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: Re: [optimization] Algorithmic tricks
Date Thu, 27 Jul 2006 07:27:21 GMT
On 7/27/06, Nathan Beyer <nbeyer@kc.rr.com> wrote:
>
> What class are you referring to? The hash value of a String isn't written
> during serialization [1]; the String serialization is actually a somewhat
> special form. In most other classes that are serializable though, the hash
> value generally isn't part of the serialized form.
>

Nathan, yes I was wrong. I had just a brief look to String.java and had seen
no special serialization code in it, so my first thought was that String is
saved by default rules. Now I see that object streams have special handling
of String internaly.

-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message