help-flex
[Top][All Lists]
Advanced

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

Re: About C++ and flex


From: Hans Aberg
Subject: Re: About C++ and flex
Date: Fri, 23 Nov 2001 18:55:07 +0100

At 21:03 +0100 2001/11/22, Laurent Mascherpa wrote:
>When input codes where small there was no visible speed problem. But
>compared to parser produced without -+, with the exact same rules, it
>was really much slower, especially on larger input codes (> 200 lines).
>I did not take time to find why, but directly switched to /classical/
>way of using Flex.

I compiled my example both and without the C++ option. It seems that with
the C++ option on, one always get a
  #define YY_INTERACTIVE
The interactive scanner is more slow.

This, or some other such reasons, might be the cause of such a slowdown.

  Hans Aberg





reply via email to

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