c8c0fd4ca3
This patch compresses the second part of the bytecode prelude which contains the source file name, function name, source-line-number mapping and cell closure information. This part of the prelude now begins with a single varible length unsigned integer which encodes 2 numbers, being the byte-size of the following 2 sections in the header: the "source info section" and the "closure section". After decoding this variable unsigned integer it's possible to skip over one or both of these sections very easily. This scheme saves about 2 bytes for most functions compared to the original format: one in the case that there are no closure cells, and one because padding was eliminated. |
||
---|---|---|
.. | ||
cmd_optimise.py | ||
cmd_optimise.py.exp | ||
cmd_parsetree.py | ||
cmd_parsetree.py.exp | ||
cmd_showbc.py | ||
cmd_showbc.py.exp | ||
cmd_verbose.py | ||
cmd_verbose.py.exp | ||
repl_autocomplete.py | ||
repl_autocomplete.py.exp | ||
repl_basic.py | ||
repl_basic.py.exp | ||
repl_cont.py | ||
repl_cont.py.exp | ||
repl_emacs_keys.py | ||
repl_emacs_keys.py.exp |