lkml.org 
[lkml]   [2018]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2018-02-26 09:00    [W:0.062 / U:1.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site