Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main
In article <20141231101118.GB2268%snowdrop.l8s.co.uk@localhost>,
David Laight <david%l8s.co.uk@localhost> 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
Home |
Main Index |
Thread Index |
Old Index