homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arigo
Recipients Arfrever, Giovanni.Bajo, PaulMcMillan, Vlado.Boza, alex, arigo, benjamin.peterson, camara, christian.heimes, dmalcolm, koniiiik, lemburg, mark.dickinson, serhiy.storchaka, vstinner
Date 2012年11月07日.13:02:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352293325.28.0.761541391846.issue14621@psf.upfronthosting.co.za>
In-reply-to
Content
Wrong, sorry. On a 32-bit Python 2.7, "(2**32-1)*n" has the same hash -2, for any value of n.
Of course if you build a dict containing thousands of such integers as keys, then right now you get unexpectedly bad performance. I wonder if I should open another bug report about that --- the hash of longs should be slightly more random-looking...
History
Date User Action Args
2012年11月07日 13:02:05arigosetrecipients: + arigo, lemburg, mark.dickinson, vstinner, christian.heimes, benjamin.peterson, Arfrever, alex, dmalcolm, Giovanni.Bajo, PaulMcMillan, serhiy.storchaka, Vlado.Boza, koniiiik, camara
2012年11月07日 13:02:05arigosetmessageid: <1352293325.28.0.761541391846.issue14621@psf.upfronthosting.co.za>
2012年11月07日 13:02:05arigolinkissue14621 messages
2012年11月07日 13:02:05arigocreate

AltStyle によって変換されたページ (->オリジナル) /