help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nested comments


From: Hans Aberg
Subject: Re: Nested comments
Date: Wed, 2 Jul 2003 16:03:23 +0200

At 11:48 +0200 2003/07/02, Hans-Bernhard Broeker wrote:
>> Flex Compiler
>> %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?
>
>IIRC, line number counting is an almost guaranteed performance killer,
>indeed. This has been discussed at length before.

Two are see yourself :-).

Actually, %option yylineno is not the problem, because I removed it, and
there is no significant difference in timing: The nested comments still
takes about 50% more time than theorem proving.

  Hans Aberg






reply via email to

[Prev in Thread] Current Thread [Next in Thread]