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 scoder
Recipients mark.dickinson, scoder, serhiy.storchaka
Date 2014-09-22.19:35:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I found one more place where special casing helps: equal comparisons to integers, e.g. f == 0 or f == 1 or so. timeit shows me a speedup by a factor of three for this, with only a tiny slow-down when comparing fractions on both sides.

I put all of them in one patch, deselecting after applying should be easy enough.
Date User Action Args
2014-09-22 19:35:53scodersetrecipients: + scoder, mark.dickinson, serhiy.storchaka
2014-09-22 19:35:53scodersetmessageid: <>
2014-09-22 19:35:53scoderlinkissue22464 messages
2014-09-22 19:35:53scodercreate