Re: GiST memory allocation

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GiST memory allocation
Date: 2004-11-02 11:46:27
Message-ID: 41877393.6010708@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> I don't believe memory context creation is very much worse than a malloc
> (and it's certainly not that much worse than a context reset).
> If you can't buy back the time spent by avoiding some retail pfrees, then
> this whole exercise becomes very questionable anyway.

Hmm, okay -- I'll just create and destroy the contexts for each API call
then.

Thanks for the advice.

-Neil

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dennis Bjorklund 2004-11-02 12:15:45 Re: charset/collation in values
Previous Message Tom Lane 2004-11-02 11:35:34 Re: GiST memory allocation