Re: patch: tsearch - some memory diet - Mailing list pgsql-hackers

From Tom Lane
Subject Re: patch: tsearch - some memory diet
Date
Msg-id 14955.1286408025@sss.pgh.pa.us
Whole thread Raw
In response to patch: tsearch - some memory diet  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: security hook on table creation
Next
From: Tom Lane
Date:
Subject: Re: patch: tsearch - some memory diet