LWN.net Logo

The compiler is your friend

The compiler is your friend

Posted Sep 5, 2012 15:32 UTC (Wed) by epa (subscriber, #39769)
In reply to: The compiler is your friend by man_ls
Parent article: Quotes of the week

FWIW, they are not 'inlining by hand'. That would involve manually pasting in the code where needed. Instead you write the function as normal and then, if you wish it to be inlined, ask the compiler to do that. The compiler is your friend!


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds