Templates do maybe not need to be that slow (no promises)

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 11 05:42:56 PDT 2016


There are more news.
I wrote about manual template in-lining before, which is a fairly 
effective in bringing down the compile-time.

Since templates are of course white-box, the compiler can do this 
automatically for you. Recursive templates will still incur a 
performance hit but the effects will be lessened. If that gets 
implemented.

I am currently extending dmds template-code to support more 
efficient template caching.




More information about the Digitalmars-d mailing list