Antoine Pitrou added the comment:

>From a purely human and social perspective, I agree that it's beneficial to 
>minimize duplicated code.

>From a performance perspective, I can see two possible consequences:
- either compilers are already smart enough to undo the code duplication, and 
generated code will remain the same => no performance difference
- or compilers are not able to undo the code duplication, and the reduced 
I-cache pressure may be beneficial on non-trivial workloads => potential 
improvement (though probably minor) with the reduced code size

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29304>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to