Re: scanner/parser minimization

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: scanner/parser minimization
Date: 2013-03-01 15:33:48
Message-ID: 5130CA5C.6060406@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2013-03-01 15:37:43 Re: Optimizing pglz compressor
Previous Message Heikki Linnakangas 2013-03-01 15:28:20 Optimizing pglz compressor