◐ Shell
reader mode source ↗
Skip to content

GH-104584: Optimizer API#105100

Merged
markshannon merged 18 commits into
python:mainfrom
faster-cpython:optimizer-api
Jun 2, 2023
Merged

GH-104584: Optimizer API#105100
markshannon merged 18 commits into
python:mainfrom
faster-cpython:optimizer-api

Conversation

@markshannon

@markshannon markshannon commented May 30, 2023

Copy link
Copy Markdown
Member

Only supports back edges. Adding hooks for resumption points (the RESUME instruction) is for a later PR.

Performance for an earlier version was mostly noise.

In theory we could turn off the check by using adaptive bytecode, but as we will want an always-on optimizer for tier 2, there seems little advantage to doing so.

29 hidden items Load more…

@Fidget-Spinner Fidget-Spinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

Looks good in general. Probably needs a test with buildbots though.

@brandtbucher brandtbucher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

Cool! Just a small flurry of questions, comments, and nits:

11 hidden conversations Load more…
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