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 skrah
Recipients Jim.Jewett, Jimbofbx, Ramchandra Apte, jcea, pitrou, python-dev, rhettinger, serhiy.storchaka, skrah
Date 2012年04月10日.14:35:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334068501.89.0.905956489314.issue14478@psf.upfronthosting.co.za>
In-reply-to
Content
I changed the C version to cache the hash as well: For the submitted
test case the speedup is only 5x, but hashing times vary greatly
depending of the size of the coefficient and the exponent.
BTW, the tests already call both hash() and __hash__() on the same
number, so retrieving the cached value is actually tested.
History
Date User Action Args
2012年04月10日 14:35:01skrahsetrecipients: + skrah, rhettinger, jcea, pitrou, Jimbofbx, python-dev, Ramchandra Apte, Jim.Jewett, serhiy.storchaka
2012年04月10日 14:35:01skrahsetmessageid: <1334068501.89.0.905956489314.issue14478@psf.upfronthosting.co.za>
2012年04月10日 14:35:01skrahlinkissue14478 messages
2012年04月10日 14:35:01skrahcreate

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