Message 81282 - Python tracker (original) (raw)

Message81282

Author pitrou
Recipients chemacortes, jcea, mark.dickinson, pitrou, rhettinger
Date 2009-02-06.16:53:34
SpamBayes Score 0.00033513474
Marked as misclassified No
Message-id 1233939216.47.0.236675186409.issue5169@psf.upfronthosting.co.za
In-reply-to
Content
Because with hash() == id() == address of the PyObject, the hash is always a multiple of 4 or 8 (I think it's 8), so (hash() % dict_or_set_table_size) is non-uniformly distributed in most cases.
History
Date User Action Args
2009-02-06 16:53:36 pitrou set recipients: + pitrou, rhettinger, jcea, chemacortes, mark.dickinson
2009-02-06 16:53:36 pitrou set messageid: 1233939216.47.0.236675186409.issue5169@psf.upfronthosting.co.za
2009-02-06 16:53:35 pitrou link issue5169 messages
2009-02-06 16:53:34 pitrou create