Messages in this thread | | | Date | Mon, 26 Feb 2018 08:59:31 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH/RFC] headers: drop 2 #included headers from <linux/interrupt.h> |
| |
* Rasmus Villemoes <linux@rasmusvillemoes.dk> wrote:
> [...] Now I finally got around to writing some scripts for that, so here's a > visualization of (the evolution of) the problem: > > https://wildmoose.dk/header-bloat/
Nice! In particular your final conclusion is impressive and scary:
> So the typical (median) translation unit ends up including over 450 headers > files, making the whole TU about 200 times bigger than the .c file itself, while > more than 25% of the translation units get bloated to over 400 times the size of > the .c file.
Even with a lot of this being eliminated at fairly early compiling stages that's a *huge* chunk of code that needs to be parsed again and again and again and again ...
> I hope to find some time soonish to polish the old programs and see if they > actually still work.
That would be lovely!
Thanks,
Ingo
| |