Commit 6d91eca
pythongh-140149: Use PyBytesWriter in _build_concatenated_bytes() (python#140150)
Use PyBytesWriter in action_helpers.c _build_concatenated_bytes().
3x faster bytes concat in the parser.
Co-authored-by: Victor Stinner <[email protected]>1 parent 81d77a4 commit 6d91eca
File tree
2 files changed
+35
-6
lines changed- Misc/NEWS.d/next/Core_and_Builtins
- Parser
2 files changed
+35
-6
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 | |
|---|---|---|---|
| |||
1612 | 1612 | | |
1613 | 1613 | | |
1614 | 1614 | | |
1615 | | - | |
1616 | | - | |
1617 | 1615 | | |
1618 | 1616 | | |
1619 | 1617 | | |
1620 | 1618 | | |
1621 | | - | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
1622 | 1639 | | |
1623 | 1640 | | |
1624 | | - | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
1625 | 1647 | | |
1626 | | - | |
1627 | | - | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
1628 | 1655 | | |
1629 | 1656 | | |
1630 | 1657 | | |
| |||
0 commit comments