A long lost observation by Tim Peters that the existing stack space could be used for registers is employed to avoid increasing space taken by the frame object. The downside is that there are a limited number of registers available to the translator. The current translator does no proper register allocation. Victor Stinner's implementation did, however. That might be a good place to look for inspiration.
A long lost observation by Tim Peters that the existing stack space could be used for registers is employed to avoid increasing space taken by the frame object. The downside is that there are a limited number of registers available to the translator. The current translator does no proper register allocation. Victor Stinner's implementation did, however. That might be a good place to look for inspiration.