Commit 9ee88cd
authored
bpo-37207: Use PEP 590 vectorcall to speed up tuple() (pythonGH-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 ns1 parent 3f2f4fe commit 9ee88cd
File tree
2 files changed
+23
-0
lines changed- Misc/NEWS.d/next/Core and Builtins
- Objects
2 files changed
+23
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
708 | 728 | | |
709 | 729 | | |
710 | 730 | | |
| |||
863 | 883 | | |
864 | 884 | | |
865 | 885 | | |
| 886 | + | |
866 | 887 | | |
867 | 888 | | |
868 | 889 | | |
| |||
0 commit comments