[squeak-dev] true hash

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed May 9 23:56:22 UTC 2012


2012/5/10 Chris Muller <asqueaker at gmail.com>:
>> How do these clients suddenly
>> acquire new hashes for nil, true and false?
>
> I should add, it's already happened.  In 2009 Levente changed
> Object>>#identityHash to answer the scaledIdentityHash.
>

If I had to choose arbitrary constants that would be something stupid like
    ^36r0true
    ^36r0false
    ^36r0nil
but it would cost you a rehash of persistent databases...


More information about the Squeak-dev mailing list