Mark Shannon <[email protected]> added the comment:
Why all these competing pull requests? It does feel like my original patch has
been hijacked.
Also, before any more PRs, we need to decide whether to use subroutines or code
duplication for finally blocks.
Here is my attempt at an objective comparison of the two approaches.
JSR style Code duplication
Speed Slower Faster
Interpreter More complex Simpler
Bytecode generation Simpler More complex
Bytecode size ~ +0.1% ~ +0.4%
The increase in bytecode size is insignificant in terms of overall memory use,
but the performance increase is significant (although small).
Unless I have missed anything important, this says to me that the code
duplication approach is better.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue17611>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com