[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Performance impact of "redundant" rules
From: |
Frans Englich |
Subject: |
Performance impact of "redundant" rules |
Date: |
Mon, 6 Mar 2006 21:22:43 +0000 |
User-agent: |
KMail/1.8.50 |
Hi everyone,
Sometimes I write grammar constructs like this:
StringLiteral: STRING_LITERAL
and use StringLiteral in subsequent rules, instead of STRING_LITERAL directly.
The reason is readability, and to stay consistent with an EBNF specification.
I wonder, does this cause a negative performance impact? When I compile the
parser with extra debug output I see that it actually performs a
STRING_LITERAL --> StringLiteral reduction.
Thanks in advance,
Frans
- Performance impact of "redundant" rules,
Frans Englich <=
- Re: Performance impact of "redundant" rules, Sylvain Schmitz, 2006/03/06
- Re: Performance impact of "redundant" rules, Frans Englich, 2006/03/06
- Re: Performance impact of "redundant" rules, Hans Aberg, 2006/03/07
- Re: Performance impact of "redundant" rules, Sylvain Schmitz, 2006/03/07
- Re: Performance impact of "redundant" rules, Hans Aberg, 2006/03/07
- Re: Performance impact of "redundant" rules, Sylvain Schmitz, 2006/03/07
- Re: Performance impact of "redundant" rules, Hans Aberg, 2006/03/11
- Re: Performance impact of "redundant" rules, Hans Aberg, 2006/03/14
- Re: Performance impact of "redundant" rules, Sylvain Schmitz, 2006/03/14
- Re: Performance impact of "redundant" rules, Hans Aberg, 2006/03/15