additional configuration options

Hakan Mattsson hakan@REDACTED
Fri Oct 19 14:06:36 CEST 2001


On Fri, 19 Oct 2001, Ulf Wiger wrote:

Uffe> On Fri, 19 Oct 2001, Vance Shipley wrote:
Uffe> 
Uffe> >In addition to the configuration options in listed in the top
Uffe> >level README, and available with ./configure --help, I find
Uffe> >these additional options in erts/configure:
Uffe> >
Uffe> >  --disable-megaco-flex-scanner-lineno  disable megaco flex scanner
Uffe> 
Uffe> In the MEGACO application, the token scanner has been rewritten
Uffe> as a linked-in driver. I assume that this option disables the
Uffe> linked-in driver alternative and uses the erlang-based token
Uffe> scanner.

No, it is just an optimization flag for the flex based scanner.  
By disabling the counting of line numbers, you will gain yet some
performance. The flex based scanner is up to 10 times faster
than the Erlang based scanner.

The flex based scanner is built if flex is available.

Even if the flex based scanner is built and installed,
the Erlang based scanner can still be used. In fact each
Megaco connection may have its own scanner.

/Håkan

---
Håkan Mattsson
Ericsson
Computer Science Laboratory
http://www.ericsson.com/cslab/~hakan/





More information about the erlang-questions mailing list