Commit f88d668
authored
* gh-153568: Make the parser's per-rule stack check an inline comparison
The parser now caches the thread state and stack limit up front and
only falls back to the full check when the stack is nearly exhausted.
* fixup! gh-153568: Make the parser's per-rule stack check an inline comparison
* fixup! gh-153568: Make the parser's per-rule stack check an inline comparison
1 parent ac86e12 commit f88d668
5 files changed
Lines changed: 505 additions & 470 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Parser
- Tools/peg_generator/pegen
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments