I know that some compilers are smart, and can inline things, but still method calls are not necessary the most efficient way to go.
Sure, it might look pretty, but it is not efficient.
Also, you only have to push a handful of pointers to the stack, which doesn't seem to be expensive to me.
I know that some compilers are smart, and can inline things, but still method calls are not necessary the most efficient way to go.
Sure, it might look pretty, but it is not efficient.