[Python-Dev] Improving the bytecode
Brett Cannon
brett at python.org
Sat Jun 4 12:07:22 EDT 2016
More information about the Python-Dev mailing list
Sat Jun 4 12:07:22 EDT 2016
- Previous message (by thread): [Python-Dev] Improving the bytecode
- Next message (by thread): [Python-Dev] Improving the bytecode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It's not on the list but I'm hoping to convince Dino to work on END_FINALLY to be a bit more sane. On Sat, Jun 4, 2016, 01:17 Serhiy Storchaka <storchaka at gmail.com> wrote: > Following the converting 8-bit bytecode to 16-bit bytecode (wordcode), > there are other issues for improving the bytecode. > > 1. http://bugs.python.org/issue27129 > Make the bytecode more 16-bit oriented. > > 2. http://bugs.python.org/issue27140 > Add new opcode BUILD_CONST_KEY_MAP for building a dict with constant > keys. This optimize the common case and especially helpful for two > following issues (creating and calling functions). > > 3. http://bugs.python.org/issue27095 > Simplify MAKE_FUNCTION/MAKE_CLOSURE. Instead packing three numbers in > oparg the new MAKE_FUNCTION takes built tuples and dicts from the stack. > MAKE_FUNCTION and MAKE_CLOSURE are merged in the single opcode. > > 4. http://bugs.python.org/issue27213 > Rework CALL_FUNCTION* opcodes. Replace four existing opcodes with three > simpler and more efficient opcodes. > > 5. http://bugs.python.org/issue27127 > Rework the for loop implementation. > > 6. http://bugs.python.org/issue17611 > Move unwinding of stack for "pseudo exceptions" from interpreter to > compiler. > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/brett%40python.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160604/f4e2931c/attachment.html>
- Previous message (by thread): [Python-Dev] Improving the bytecode
- Next message (by thread): [Python-Dev] Improving the bytecode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list