Strange hash behaviour
Bert Freudenberg
bert at freudenbergs.de
Thu Nov 30 10:47:36 UTC 2006
On Nov 30, 2006, at 11:36 , Romain Robbes wrote:
>
> Hi list,
>
> I just stumbled upon this:
>
> Object new hash 3698
> OrderedCollection new hash 183475190
>
> Hashes for collections seems to be much bigger than other hashes.
> Is there a reason for that?
Sure. Look into the implementation of #hash that is used by
OrderedCollection.
- Bert -
More information about the Squeak-dev
mailing list
|