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 <1352270961.38.0.843695955202.issue14621@psf.upfronthosting.co.za>
In-reply-to
Content
% ./python -m timeit -r20 -n1000000 -s "h = hash; x = 'a' * 10**7" -- "h(x)"

Here is only one hash calculation and 999999 cached calls.
History
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: <1352270961.38.0.843695955202.issue14621@psf.upfronthosting.co.za>
2012-11-07 06:49:21serhiy.storchakalinkissue14621 messages
2012-11-07 06:49:21serhiy.storchakacreate