Skip to content

gh-126599: Refactor the _PyOptimizer APIs#126853

Merged
brandtbucher merged 18 commits intopython:mainfrom
xuantengh:remove-pyopt-api
Jan 16, 2025
Merged

gh-126599: Refactor the _PyOptimizer APIs#126853
brandtbucher merged 18 commits intopython:mainfrom
xuantengh:remove-pyopt-api

Conversation

@xuantengh
Copy link
Copy Markdown
Contributor

@xuantengh xuantengh commented Nov 15, 2024

Hi this is my draft to remove the _PyOptimizer_NewCounter and _PyOptimizer_NewUOpOptimizer APIs, where the related tests are removed or skipped.

For the most challenging _PyOptimizer_Optimize, I'm still trying to figure out how to achieve its functionality in generated interpreter. To remove the "artificial boundaries", should we just remove this API call and replace its code in the JUMP_BACKWARD, _EXIT_TRACE and _DYNAMIC_EXIT instruction cases?

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants