Message323443
FWIW, a PGO build of Py3.7 is now about 20% *faster* here than my Ubuntu 16/04 system Python 2.7, and for some (probably unrelated) reason, the system Python 3.5 is another 2% faster on my side.
IMHO, the only other thing that seems obvious to try would be to inline the unpacking of single digit PyLongs into sum(). I attached a simple patch that does that, in case someone wants to test it out. For non-PGO builds, it's about 17% faster for me. Didn't take the time to benchmark PGO builds with it. |
|
Date |
User |
Action |
Args |
2018-08-12 12:36:17 | scoder | set | recipients:
+ scoder, rhettinger, mark.dickinson, pitrou, steven.daprano, lukasz.langa, serhiy.storchaka |
2018-08-12 12:36:17 | scoder | set | messageid: <1534077377.67.0.56676864532.issue24076@psf.upfronthosting.co.za> |
2018-08-12 12:36:17 | scoder | link | issue24076 messages |
2018-08-12 12:36:17 | scoder | create | |
|