Message259615
| Author |
yselivanov |
| Recipients |
pitrou, serhiy.storchaka, vstinner, yselivanov |
| Date |
2016年02月05日.01:54:59 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1454637300.25.0.0795862049025.issue26288@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The attached patch drastically speeds up PyLong_AsDouble for single digit longs:
-m timeit -s "x=2" "x*2.2 + 2 + x*2.5 + 1.0 - x / 2.0 + (x+0.1)/(x-0.1)*2 + (x+10)*(x-30)"
with patch: 0.414
without: 0.612
spectral_norm: 1.05x faster. The results are even better when paired with patch from issue #21955. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年02月05日 01:55:00 | yselivanov | set | recipients:
+ yselivanov, pitrou, vstinner, serhiy.storchaka |
| 2016年02月05日 01:55:00 | yselivanov | set | messageid: <1454637300.25.0.0795862049025.issue26288@psf.upfronthosting.co.za> |
| 2016年02月05日 01:54:59 | yselivanov | link | issue26288 messages |
| 2016年02月05日 01:54:59 | yselivanov | create |
|