Also I will just throw an observation out there that trying to minimise headers 
may not be the way to go. 

The C++ project I'm working on compiled significantly faster when it moved from 
individual includes to a single include which included _all_ the others.  At 
the time I didn't measure the improvement or investigate why that happened.  I 
was just happy as I was actually expecting it to be slightly slower.

Perhaps GCC or meson uses some sort of caching which it can activate if it 
observes the same includes, which the single include guarantees, and guarantees 
to be in the same order.

On the other hand if the linking is the slow part twiddling the includes won't 
help.  @ntrel can you put figures on your "slow" so we know its not just that 
you are nearly as impatient as me.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2305#issuecomment-532411875

Reply via email to