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 serhiy.storchaka
Recipients Arfrever, Giovanni.Bajo, PaulMcMillan, Vlado.Boza, alex, arigo, benjamin.peterson, camara, christian.heimes, dmalcolm, koniiiik, lemburg, serhiy.storchaka, vstinner
Date 2012-11-07.06:49:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
% ./python -m timeit -r20 -n1000000 -s "h = hash; x = 'a' * 10**7" -- "h(x)"

Here is only one hash calculation and 999999 cached calls.
Date User Action Args
2012-11-07 06:49:21serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, arigo, vstinner, christian.heimes, benjamin.peterson, Arfrever, alex, dmalcolm, Giovanni.Bajo, PaulMcMillan, Vlado.Boza, koniiiik, camara
2012-11-07 06:49:21serhiy.storchakasetmessageid: <>
2012-11-07 06:49:21serhiy.storchakalinkissue14621 messages
2012-11-07 06:49:21serhiy.storchakacreate