<p>Am 24.11.2015 08:04 schrieb "Michael Schnell" <<a href="mailto:mschnell@lumino.de">mschnell@lumino.de</a>>:<br>
><br>
> Is this syntax candy for automatically creating multiple functions (completely dedicated code for each type (combination) it is called with) (in fact optimizing for CPU usage), or is a single code sequence generated that takes different branches at certain locations (in fact optimizing for code size) ?</p>
<p>It's the first one. This is also the case for generic types by the way, so nothing new here...<br>
(And before someone asks: yes, right now there are situations where this leads to code bloat, but my plan is to sometime(TM) add a link time optimization or WPO pass that combines code of specializations with the same types in different units again)</p>
<p>Regards,<br>
Sven</p>