inlining

atarob nginx-forum at nginx.us
Fri Feb 14 21:59:26 UTC 2014


Looking through the codebase, I see a lot of very short helper like
functions that are defined in .c files with prototypes in .h files. This
means that the compiler cannot inline them outside of that .c file. Am I
wrong?  How is that not a performance hit?

Ata.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247575,247575#msg-247575



More information about the nginx mailing list