Message323443
| Author |
scoder |
| Recipients |
lukasz.langa, mark.dickinson, pitrou, rhettinger, scoder, serhiy.storchaka, steven.daprano |
| Date |
2018年08月12日.12:36:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1534077377.67.0.56676864532.issue24076@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|