Merge LOAD_METHOD back into LOAD_ATTR for better specialization · Issue #93429 · python/cpython (original) (raw)

LOAD_METHOD split off from LOAD_ATTR in 3.7 as a compiler based optimisation.

I proposed to merge it back to enable better specialization. The actual LOAD_METHOD instruction is left around as a virtual instruction at the moment.

See faster-cpython/ideas#400 (reply in thread)