Re: patch: tsearch - some memory diet

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: patch: tsearch - some memory diet
Дата
Msg-id 14955.1286408025@sss.pgh.pa.us
обсуждение исходный текст
Ответ на patch: tsearch - some memory diet  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> this simple patch reduce a persistent allocated memory for tsearch
> ispell dictionaries.

> on 32bit from 27MB (3399 blocks) to 13MB (1564 blocks)
> on 64bit from 55MB to cca 27MB.

Applied with revisions --- I got rid of the risky static state as per
discussion, and extended the hackery to strings and Aff nodes as
suggested by Teodor.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: security hook on table creation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: patch: tsearch - some memory diet