Re: [Python-Dev] MAKE_FUNCTION simplification

On Thu, Apr 14, 2016 at 8:32 PM, Victor Stinner <victor.stinner@gmail.com> wrote:
Would you like to work on a patch to implement that change?
I'll work on a patch. Should I post it to bugs.python.org?
Since Python 3.6 may get a new bytecode format (wordcode, see the other thread on this mlailing list), I think that it's ok to change MAKE_FUNCTION in the same release.
Wordcode looks like pure win from (projected) 25% bytecode size reduction alone.

On Thu, 14 Apr 2016 at 09:16 Nikita Nemkin <nikita@nemkin.ru> wrote:
On Thu, Apr 14, 2016 at 8:32 PM, Victor Stinner <victor.stinner@gmail.com> wrote:
Would you like to work on a patch to implement that change?
I'll work on a patch. Should I post it to bugs.python.org?
Yep.
Since Python 3.6 may get a new bytecode format (wordcode, see the other thread on this mlailing list), I think that it's ok to change MAKE_FUNCTION in the same release.
Wordcode looks like pure win from (projected) 25% bytecode size reduction alone.
CPU performance is more the worry here (which looks mostly unaffected, maybe even faster), but reduced .pyc files is a nice perk. :)
participants (2)
-
Brett Cannon
-
Nikita Nemkin