c/++:
"" . , , . , :
. :
callsite. , ( / ). - , , , .
inline . . () . , . , .
Assuming you are using a modern compiler, there is no excuse to avoid this function if you also do not want to go to the build for this particular program.
since if performance is critical, you really have two options:
1) learn to write well-organized programs for speed. downside: longer compilation time
2) support a poorly written program
I prefer 1. any day.
(yes, I spent a lot of time developing critical programs)
source
share