Re: Inline Functions ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sandeep K Sinha wrote:
Can you tell me any scenario, where you would mark a function to be inline and not expect to be patched into the caller.

When you ask for every function to be inlined in a program with hundreds of large functions which are used all over the place and have a large number or arguments. inlining is a request to the compiler for optimisation purposes - it can decide that doing such a request would be detrimental and not do so. Also see http://www.parashift.com/c++-faq-lite/inline-functions.html#faq-9.1 .

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux