Re: scanner/parser minimization

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: scanner/parser minimization
Дата
Msg-id 5130CA5C.6060406@gmx.net
обсуждение исходный текст
Ответ на scanner/parser minimization  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Optimizing pglz compressor
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Optimizing pglz compressor