Message259617
The attached patch optimizes floor division for ints.
### spectral_norm ###
Min: 0.319087 -> 0.289172: 1.10x faster
Avg: 0.322564 -> 0.294319: 1.10x faster
Significant (t=21.71)
Stddev: 0.00249 -> 0.01277: 5.1180x larger
-m timeit -s "x=22331" "x//2;x//3;x//4;x//5;x//6;x//7;x//8;x/99;x//100;"
with patch: 0.298
without: 0.515 |
|
Date |
User |
Action |
Args |
2016-02-05 02:07:54 | yselivanov | set | recipients:
+ yselivanov, pitrou, vstinner, serhiy.storchaka |
2016-02-05 02:07:54 | yselivanov | set | messageid: <1454638074.35.0.0871962001647.issue26289@psf.upfronthosting.co.za> |
2016-02-05 02:07:54 | yselivanov | link | issue26289 messages |
2016-02-05 02:07:53 | yselivanov | create | |
|