Re: CACHE opcode in Python 3.11 bytecode
"Jeremiah Gabriel Pascual" <[email protected]> Mon, 25 Jul 2022 22:49:50 -0000
| Newsgroups | gmane.comp.python.devel |
|---|---|
| Message-ID | <[email protected]> |
The CACHE opcode is a new 3.11+ opcode which is kind of a NOP but is used by some other opcodes to store cache information for specialization. A map of <opcode number> -> <number of CACHEs needed> is in `dis._inline_cache_entries` if that helps with this.