Re: scanner/parser minimization - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: scanner/parser minimization
Date
Msg-id 5130CA5C.6060406@gmx.net
Whole thread Raw
In response to scanner/parser minimization  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2/28/13 3:34 PM, Robert Haas wrote:
> It's
> possible to vastly reduce the size of the scanner output, and
> therefore of gram.c, by running flex with -Cf rather than -CF, which
> changes the table representation completely.  I assume there is a
> sound performance reason why we don't do this, but it might be worth
> checking that if we haven't lately.  When compiled with -Cf, the size
> of gram.o drops from 1019260 bytes to 703600, which is a large
> savings.

The option choice is based on the recommendation in the flex manual.  It
wouldn't hurt to re-test it.



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Optimizing pglz compressor
Next
From: Alvaro Herrera
Date:
Subject: Re: Optimizing pglz compressor