4 ms·
This feels a little unfair; the function is invoked the same number of times, but C++ has a mechanism for removing the overhead of calling a function (inlining)
by alexchamberlain 7y ago
This feels a little unfair; the function is invoked the same number of times, but C++ has a mechanism for removing the overhead of calling a function (inlining).
- zhangxp1998 7y agoI looked at disassembly of generated binary, sure, function calls inside quad sort were also inlined.