Hacker News new | past | comments | ask | show | jobs | submit login

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).





I looked at disassembly of generated binary, sure, function calls inside quad sort were also inlined.



Applications are open for YC Summer 2020

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: