Message296702
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 |
|
Date |
User |
Action |
Args |
2017-06-23 11:32:22 | pitrou | set | recipients:
+ pitrou, rhettinger, methane, serhiy.storchaka, xiang.zhang, Dmitry Rubanovich |
2017-06-23 11:32:22 | pitrou | set | messageid: <1498217542.94.0.285157572745.issue29304@psf.upfronthosting.co.za> |
2017-06-23 11:32:22 | pitrou | link | issue29304 messages |
2017-06-23 11:32:22 | pitrou | create | |
|