DragonFly BSD
DragonFly kernel List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: warning about 'large-function-growth limit reached'


From: Richard Tobin <richard@xxxxxxxxxxxx>
Date: Thu, 15 Jun 2006 15:47:27 +0100 (BST)

> Either way inlining is overrated unless the function is
> both extremely small and frequently used, and yet still too messy to
> make a macro.

That depends on how you measure "small".  A function consisting of
a hundred-case switch, with most of the cases very small (e.g. a
virtual machine) might well be worth inlining.

-- Richard



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