Maybe (probably) I'm wrong, but this would impact performance if it was called a HUGE number of times?
Yet I think in this case, for C at least, this would compile to the same assembly.
I mentioned "premature" optimization. If this was called a huge number of times, and it did impact performance, then it would be time to optimize. But I would be willing to bet that for most use cases, it doesn't really matter.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.