Horrible unscalability, how do I change hashBitsOf: ?

Stephen Pair spair at advantive.com
Sat Oct 6 19:55:07 UTC 2001


> On Sat, 6 Oct 2001, Stephen Pair wrote:
> 
> > With only 5 bits for an object hash, the largest range of 
> hash values 
> > is going to be 4096, no matter what kind of algorithm you use to 
> > derive the
> 
> I believe its 12 bits to get 4096 different codes..

Duh.

> Again, what I am dealing with is something more subtle. I'm 
> not complaining about only being 4096 possible values, but 
> rather that those 4096 values are all distributed in the 
> range 0--4095.

I see.

- Stephen





More information about the Squeak-dev mailing list