Message227299
| 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:53 | scoder | set | recipients:
+ scoder, mark.dickinson, serhiy.storchaka |
| 2014年09月22日 19:35:53 | scoder | set | messageid: <1411414553.59.0.534536716077.issue22464@psf.upfronthosting.co.za> |
| 2014年09月22日 19:35:53 | scoder | link | issue22464 messages |
| 2014年09月22日 19:35:53 | scoder | create |
|