View Single Post
Old August 1, 2019, 18:41   #320
khearn
Rookie
 
Join Date: Jul 2007
Posts: 18
khearn is on a distinguished road
Quote:
Originally Posted by Derakon View Post
It wouldn't surprise me if modern compilers are capable of saying "Ah, you're invoking this simple function here, we can just inline it" and get the same performance as a macro. In any case, the performance hit of invoking a function is miniscule in this day and age.
Back in the early 90's, I was working in a group doing compiler optimization, and function inlining was definitely a thing way back then.
khearn is offline   Reply With Quote