===== CPYTHON vs. OPY Overview # A tibble: 5 x 3 table_name cpython opy 1 frames 1810 1810 2 names 22207 39645 3 consts 9712 8865 4 flags 3901 3875 5 ops 84698 87768 ===== Cell Variables CPython path code_name kind name 1 /home/andy/git/oilshell/oil/bin/oil.pyc _InitReadline cell display 2 /home/andy/git/oilshell/oil/bin/oil.pyc ShellMain cell display 3 /home/andy/git/oilshell/oil/core/completion.pyc Matches cell arena OPy path code_name kind name 1 _build/oil/bytecode-opy/bin/oil.pyc _InitReadline cell display 2 _build/oil/bytecode-opy/bin/oil.pyc ShellMain cell display 3 _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/bin/oil.pyc _InitReadline LOAD_CLOSURE 0 2 /home/andy/git/oilshell/oil/bin/oil.pyc _InitReadline MAKE_CLOSURE 0 3 /home/andy/git/oilshell/oil/bin/oil.pyc ShellMain LOAD_CLOSURE 0 4 /home/andy/git/oilshell/oil/bin/oil.pyc ShellMain MAKE_CLOSURE 0 5 /home/andy/git/oilshell/oil/core/completion.pyc Matches LOAD_CLOSURE 0 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/bin/oil.pyc _InitReadline LOAD_CLOSURE 0 2 _build/oil/bytecode-opy/bin/oil.pyc _InitReadline MAKE_CLOSURE 0 3 _build/oil/bytecode-opy/bin/oil.pyc ShellMain LOAD_CLOSURE 0 4 _build/oil/bytecode-opy/bin/oil.pyc ShellMain MAKE_CLOSURE 0 5 _build/oil/bytecode-opy/core/completion.pyc Matches LOAD_CLOSURE 0 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 200 3 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 201 4 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 200 5 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 201 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/core/util.pyc GetResourceLoader STORE_GLOBAL 0 2 _build/oil/bytecode-opy/core/util.pyc GetResourceLoader STORE_GLOBAL 0 3 _build/oil/bytecode-opy/core/util.pyc GetResourceLoader STORE_GLOBAL 0 STORE_SLICE+1 in OPy [1] path code_name op_name op_arg <0 rows> (or 0-length row.names)