May 19, 2019 What compiles faster? | ||||
---|---|---|---|---|
| ||||
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?
|
Copyright © 1999-2021 by the D Language Foundation