cpython icon indicating copy to clipboard operation
cpython copied to clipboard

Move Tier 2 interpreter out of `_PyEval_EvalFrameDefault`

Open gvanrossum opened this issue 1 year ago • 0 comments

See discussion starting here: https://github.com/faster-cpython/ideas/issues/631#issuecomment-1995191531

Basically, we see no real perf improvement for having the two switches inside the same function, and we have some indication that on Windows the compiler is failing to optimize this giant function. In addition, the logic for each of the interpreters is somewhat complicated due to sharing variables and labels.

This is not as simple as reverting gh-111428 (issue gh-111520), but in the abstract, that's the proposal.

The priority isn't clear, but it's probably doing before the 3.13 feature freeze.

gvanrossum avatar Mar 18 '24 19:03 gvanrossum