This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cache misses in gcc 3.3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]