cache misses in gcc 3.3
Michael S. Zick
mszick@goquest.com
Mon Feb 10 14:50:00 GMT 2003
On Sunday 09 February 2003 04:13 pm, Andi Kleen wrote:
>
> I suspect using an handwritten top-down parser would be somewhat faster
> here because it encodes the grammer in code, not data and I would expect it
> to have a smaller working set and be less affected by data caches
> overflowing.
>
> -Andi
>
Also, handwritten top-down parsers generally make heavy use of local
variables (stack area) - which is always D-Cache hot and quicker to
allocate and deallocate.
Mike
More information about the Gcc
mailing list