Nick Vatamaniuc wrote:

> If you don't really want to store the keys, just use
> dic[hash(key)]=value, this way the dictionary will have the same shape
> and distribution of keys as dic[key]=value because
> hash('abc')=hash(hash('abc'))  but the long string of actual keys are
> not referenced by the dictionary.

how come you're so sure that there will never be any collisions ?

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to