GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — gh-108113: Make it possible to optimize an AST by iritkatriel · Pull Request #108282 · python/cpython Conversation
|
|
Skipping news as the previous PR's news covers this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if (is_ast == -1) | ||
| goto error; | ||
| if (is_ast) { | ||
| PyArena *arena = _PyArena_New(); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I wonder if anyone has perf-sensitive code that does ast.parse on an AST as a no-op, and what the impact on that code will be of allocating and freeing an unused arena. Probably not an issue? I think it would be possible, but slightly more complex, to still avoid arena allocation in the no-op case.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
There's a new commit after the PR has been approved. @carljm: please review the changes made to this pull request. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.