In article <20141231101118.gb2...@snowdrop.l8s.co.uk>, David Laight <da...@l8s.co.uk> wrote: >On Tue, Dec 30, 2014 at 05:58:06PM -0500, Christos Zoulas wrote: >> Modified Files: >> xsrc/external/mit/MesaLib/dist/src/mesa/main: format_utils.c >> >> Log Message: >> The macros in this file generate a gigantic function that takes a long time >> to compile and a ton of memory. Split it per datatype so that each is 1/8th >> the size. On my 48GB amd64 box this results in 3x speedup. > >What happens at run time ? >Sounds like somethink that is being inlined so much that it >will displace everything from the cache and run slowly because >it is always waiting for instruction fetches.
I agree, but fixing this problem requires a complete rewrite. I was just trying to fix the build :-) christos