On Mon Apr 10 09:18:01 CDT 2006, [email protected] wrote: > Brantley Coile wrote: > It's humorous to see the inline madness, on machines with 512KB caches yet: > [EMAIL PROTECTED] linux-2.6.16]$ grep -r -i 'static inline' . |wc > 21262 142677 1810997 > > yep, 21262 instances of 'static inline'. Even better: > > [EMAIL PROTECTED] linux-2.6.16]$ grep -r -i 'static inline' include/ | wc > 8249 54789 689506 > > so, like, 13K of them are NOT in .h. Which is worse, the fact that the > code is replicated all over the place, via .h, or there are .c files > with static inline in them? yikes.
the instructive thing about linux is that it doesn't use the c library. this is because glibc is too big to put in the kernel (and too much of a moving target). linux/gnu is suffering from a complication feedback loop. - erik
