Skip to content

Move Tier 2 interpreter (_PyUopExecute) to a new file #106701

Closed
@gvanrossum

Description

@gvanrossum

It currently lives in ceval.c, but I'm noticing serious increases in compile time, possibly because the file is so large. Splitting it up should make this more bearable (esp. when using make -j).

It's not completely trivial, since there are a number of static functions (and some macros?) that are shared between the Tier 1 an Tier 2 interpreter. But those should be turned into private functions (_Py prefix, no PyAPI_FUNC macro). That will help the copy-and-patch tooling as well. (CC @brandtbucher)

Linked PRs

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions