This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Inlining heuristics for C++



> The style in Ada is for people to use pragma Inline to specify what should
> be inlined, and programmers generally specify only very small functions for
> inlining.

Same in C++ (with the addition that functions whose definitions appear in
the class declaration rather than outside it are implicitly inline).  We
might want to address the matter by looking at libstdc++ to see if
excessively large functions are declared inline.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]