SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72125 0 12 Python

bpo-37207: Use PEP 590 vectorcall to speed up tuple() (GH-18936)

Master:

./python.exe -m pyperf timeit "tuple((1, 2, 3, 4, 5))"
Mean +- std dev: 361 ns +- 15 ns

PEP-590:

./python.exe -m pyperf timeit "tuple((1, 2, 3, 4, 5))"
Mean +- std dev: 203 ns +- 13 ns
D
Dong-hee Na committed
9ee88cde1abf7f274cc55a0571b1c2cdb1263743
Parent: 3f2f4fe
Committed by GitHub <noreply@github.com> on 3/13/2020, 1:57:00 PM