Posted by: silent November 21, 2006
C Programing question
Login in to Rate this Post:     0       ?        
thapap, is it a good idea to create functions for small tasks as printing few values? Doesnt the overhead associated with creating a new stack frame for such a small task outwiegh the simplicity of inlining ? may be its okay for the small program as the one above. but for large programs, i think its better to inline such small tasks instead of using a function.
Read Full Discussion Thread for this article