pfalcon / pycopy

Pycopy - a minimalist and memory-efficient Python dialect. Good for desktop, cloud, constrained systems, microcontrollers, and just everything.

Home Page:http://pycopy.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bytecode inline caching issues

pfalcon opened this issue · comments

Currently, (only) following opcodes cache a look up index (inline in the opcode):

  • LOAD_NAME
  • LOAD_GLOBAL
  • LOAD_ATTR
  • STORE_ATTR

This leaves out another very common opcode which looks up by qstr: LOAD_METHOD.