digitalmars.D.learn - What compiles faster?
- Andrey (8/11) May 19 2019 As we see, the first function accepts 1 template argument, the
 
Hello,
Let we have got 3 template functions:
 void func1(int a)() {}
 void func2(int a, string b)() {}
 void func3(int a, string b, bool c)() {}
As we see, the first function accepts 1 template argument, the 
second - 2 and the third - 3.
What compiles faster:
1. When a program has got 100 realizations of the first variant?
2. When a program has got 100 realizations of the second variant?
3. When a program has got 100 realizations of the third variant?
 May 19 2019








 
 
 
 Andrey <saasecondbox yandex.ru>