Faster _EXIT_TRACE via jump patching
Offen
@Fidget-Spinner arbeitet bereits daran.
Seit 21.10.2025.
interpreter-core
topic-JIT
type-feature
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
Feature or enhancement
Proposal:
When a trace ends in _EXIT_TRACE instead of JUMP_TO_TOP, it seems to cost a lot more to jump.
We should do like pypy and patch the trace exit to the actual machine code so it's a direct jump.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.