===== CPYTHON vs. OPY Overview # A tibble: 5 x 3 table_name cpython opy 1 frames 1475 1475 2 names 17631 31193 3 consts 7745 6909 4 flags 3226 3203 5 ops 67960 70426 ===== Cell Variables CPython path code_name kind name 1 /home/andy/git/oilshell/oil/core/completion.pyc Matches cell arena 2 /home/andy/git/oilshell/oil/core/completion.pyc Matches cell comp OPy path code_name kind name 1 _build/oil/bytecode-opy/core/completion.pyc Matches cell comp 2 _build/oil/bytecode-opy/core/completion.pyc Matches cell arena ===== CLOSURE bytecodes CPython path code_name op_name op_arg 1 /home/andy/git/oilshell/oil/core/completion.pyc Matches LOAD_CLOSURE 0 2 /home/andy/git/oilshell/oil/core/completion.pyc Matches LOAD_CLOSURE 1 3 /home/andy/git/oilshell/oil/core/completion.pyc Matches MAKE_CLOSURE 1 OPy path code_name op_name op_arg 1 _build/oil/bytecode-opy/core/completion.pyc Matches LOAD_CLOSURE 1 2 _build/oil/bytecode-opy/core/completion.pyc Matches LOAD_CLOSURE 0 3 _build/oil/bytecode-opy/core/completion.pyc Matches MAKE_CLOSURE 1 ===== Rare bytecodes DELETE_FAST in CPython [1] path code_name op_name op_arg <0 rows> (or 0-length row.names) DELETE_FAST in OPy path code_name op_name op_arg 1 _build/oil/bytecode-opy/bin/oil.pyc SourceStartupFile DELETE_FAST 9 2 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 182 3 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 183 4 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 182 5 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 183 6 _build/oil/bytecode-opy/core/dev.pyc MaybeDump DELETE_FAST 18 STORE_GLOBAL in OPy path code_name op_name op_arg 1 _build/oil/bytecode-opy/asdl/runtime.pyc __setattr__ STORE_GLOBAL 10 2 _build/oil/bytecode-opy/core/util.pyc GetResourceLoader STORE_GLOBAL 0 3 _build/oil/bytecode-opy/core/util.pyc GetResourceLoader STORE_GLOBAL 0 4 _build/oil/bytecode-opy/core/util.pyc GetResourceLoader STORE_GLOBAL 0 STORE_SLICE+1 in OPy path code_name op_name op_arg 1 _build/oil/bytecode-opy/pylib/unpickle.pyc load_tuple STORE_SLICE+1 2 2 _build/oil/bytecode-opy/pylib/unpickle.pyc load_tuple2 STORE_SLICE+1 0 3 _build/oil/bytecode-opy/pylib/unpickle.pyc load_tuple3 STORE_SLICE+1 0 4 _build/oil/bytecode-opy/pylib/unpickle.pyc load_list STORE_SLICE+1 2 5 _build/oil/bytecode-opy/pylib/unpickle.pyc load_dict STORE_SLICE+1 2