___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hash values could always be greater than 4096 :)
Identity hashes can't, but they are scaled in 1.1, to avoid bad clustering
/listinfo/pharo-project
Hash values could always be greater than 4096 :)
Identity hashes can't, but they are scaled in 1.1, to avoid bad clustering
That's not true. You may be surprised, but the value of #identityHash can be
any SmallInteger. Just try this:
{SmallInteger minVal. SmallInteger maxVal
/mailman/listinfo/pharo-project
Hash values could always be greater than 4096 :)
Identity hashes can't, but they are scaled in 1.1, to avoid bad clustering
That's not true. You may be surprised, but the value of #identityHash can be
any SmallInteger. Just try this:
{SmallInteger
Hi!
Apparently in Pharo 1.1, hash values may be greater than 4096. What is the
range of the hash values?
Cheers,
Alexandre
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hash values could always be greater than 4096 :)
Identity hashes can't, but they are scaled in 1.1, to avoid bad
clustering for objects not redefining hash.
Basically they're multiplied by 2^18, which gives the largest possible
range while
list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hash values could always be greater than 4096 :)
Identity hashes can't, but they are scaled in 1.1, to avoid bad clustering
That's not true. You may be surprised, but the value