Re: Performance problem in aset.c - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Performance problem in aset.c
Date
Msg-id 3.0.5.32.20000712163010.01feebb0@mail.rhyme.com.au
Whole thread Raw
In response to Re: Performance problem in aset.c  (Alfred Perlstein <bright@wintelcom.net>)
List pgsql-hackers
At 22:33 11/07/00 -0700, Alfred Perlstein wrote:
>
>The only time you may want to do this is if you're doing a special purpose
>allocator like a zone or slab allocator, otherwise it's a pessimization.

That is why it is done (I believe) - memory can be allocated using one
context then freed as a block when the context is no longer used.


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: Connection pooling.
Next
From: Alfred Perlstein
Date:
Subject: Re: Connection pooling.