[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nested comments
From: |
john43 |
Subject: |
Re: Nested comments |
Date: |
Wed, 2 Jul 2003 13:35:23 -0400 |
>%option yylineno entails a performance penalty ONLY on
rules that can match
>newline characters
>
>Can it be that %option yylineno causes such a severe
performance loss?
No, you can only see a performance loss with yylineno
(in the new code) if all these conditions hold:
1. The rule could possibly match a newline, and
2. The rule matches frequently or matches a lot
of text, and
3. Your parser has such low overhead that a rescan
of yytext would even be noticable.
- Re: Nested comments,
john43 <=
- Re: Nested comments, john43, 2003/07/02
- RE: Nested comments, Thurn, Martin, 2003/07/02
- RE: Nested comments, john43, 2003/07/02
- Re: Nested comments, Hans Aberg, 2003/07/02
- Re: Nested comments, john43, 2003/07/05