===== CPYTHON vs. OPY Overview # A tibble: 5 x 3 table_name cpython opy 1 frames 2135 2135 2 names 26438 47062 3 consts 11399 10452 4 flags 4573 4540 5 ops 98276 101878 ===== 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/core/completion.pyc Matches cell arena 3 /home/andy/git/oilshell/oil/core/process.pyc InitInteractiveShell cell display 4 /home/andy/git/oilshell/oil/osh/builtin.pyc _PrintDirStack cell home_dir OPy path code_name kind name 1 _build/oil/bytecode-opy/bin/oil.pyc _InitReadline cell display 2 _build/oil/bytecode-opy/core/completion.pyc Matches cell arena 3 _build/oil/bytecode-opy/core/process.pyc InitInteractiveShell cell display 4 _build/oil/bytecode-opy/osh/builtin.pyc _PrintDirStack cell home_dir ===== 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/core/completion.pyc Matches LOAD_CLOSURE 0 4 /home/andy/git/oilshell/oil/core/completion.pyc Matches MAKE_CLOSURE 0 5 /home/andy/git/oilshell/oil/core/process.pyc InitInteractiveShell LOAD_CLOSURE 0 6 /home/andy/git/oilshell/oil/core/process.pyc InitInteractiveShell MAKE_CLOSURE 0 7 /home/andy/git/oilshell/oil/osh/builtin.pyc _PrintDirStack LOAD_CLOSURE 0 8 /home/andy/git/oilshell/oil/osh/builtin.pyc _PrintDirStack 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/core/completion.pyc Matches LOAD_CLOSURE 0 4 _build/oil/bytecode-opy/core/completion.pyc Matches MAKE_CLOSURE 0 5 _build/oil/bytecode-opy/core/process.pyc InitInteractiveShell LOAD_CLOSURE 0 6 _build/oil/bytecode-opy/core/process.pyc InitInteractiveShell MAKE_CLOSURE 0 7 _build/oil/bytecode-opy/osh/builtin.pyc _PrintDirStack LOAD_CLOSURE 0 8 _build/oil/bytecode-opy/osh/builtin.pyc _PrintDirStack 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 280 3 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 281 4 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 280 5 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 281 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/pyutil.pyc GetResourceLoader STORE_GLOBAL 0 2 _build/oil/bytecode-opy/core/pyutil.pyc GetResourceLoader STORE_GLOBAL 0 3 _build/oil/bytecode-opy/core/pyutil.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)