> Although Doug'll probably pipe up saying in modern compilers/computers,
> function call overhead time is negligible, etc.
I have had a situation where the overhead made a difference though, in a very low-level, high-traffic function.

I was optimizing an indexing process recently, and had a low-level function that was called ~34 million times in a 50-second test run.  If I recall correctly, changing the function to a macro gave me a ~1% time savings.

But that's more a matter of "negligible * infinite = noticeable". :)


---
Tim Margheim