===== CPYTHON vs. OPY Overview # A tibble: 5 x 3 table_name cpython opy 1 frames 1463 1463 2 names 17400 30826 3 consts 7638 6818 4 flags 3191 3167 5 ops 66725 69154 ===== 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 3 /home/andy/git/oilshell/oil/core/completion.pyc Matches cell debug_f 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 3 _build/oil/bytecode-opy/core/completion.pyc Matches cell debug_f ===== 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 4 /home/andy/git/oilshell/oil/core/completion.pyc Matches LOAD_CLOSURE 0 5 /home/andy/git/oilshell/oil/core/completion.pyc Matches LOAD_CLOSURE 2 6 /home/andy/git/oilshell/oil/core/completion.pyc Matches MAKE_CLOSURE 0 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 4 _build/oil/bytecode-opy/core/completion.pyc Matches LOAD_CLOSURE 1 5 _build/oil/bytecode-opy/core/completion.pyc Matches LOAD_CLOSURE 2 6 _build/oil/bytecode-opy/core/completion.pyc Matches MAKE_CLOSURE 0 ===== 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 159 3 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 160 4 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 159 5 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 160 6 _build/oil/bytecode-opy/core/dev.pyc MaybeDump DELETE_FAST 15 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