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 <1411414553.59.0.534536716077.issue22464@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-09-22 19:35:53scodersetrecipients: + scoder, mark.dickinson, serhiy.storchaka
2014-09-22 19:35:53scodersetmessageid: <1411414553.59.0.534536716077.issue22464@psf.upfronthosting.co.za>
2014-09-22 19:35:53scoderlinkissue22464 messages
2014-09-22 19:35:53scodercreate