===== CPYTHON vs. OPY Overview # A tibble: 5 x 3 table_name cpython opy 1 frames 1966 1966 2 names 24242 43196 3 consts 10424 9560 4 flags 4233 4202 5 ops 90374 93695 ===== 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 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/bin/oil.pyc ShellMain cell display 3 _build/oil/bytecode-opy/core/completion.pyc Matches cell arena 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/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 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/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 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 272 3 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 273 4 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 272 5 _build/oil/bytecode-opy/bin/oil.pyc ShellMain DELETE_FAST 273 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)