Re: aiops.c and xmalloc

From: Andres Kroonmaa <andre@dont-contact.us>
Date: Thu, 5 Oct 2000 10:02:42 +0200

On 5 Oct 2000, at 6:27, Adrian Chadd <adrian@creative.net.au> wrote:

> > Of the 4 xmalloc calls there is in aiops, only one is easily
> > transferrable to memory pools.. (the struct stat one).
>
> If the above is what I think it is, assert the string length and use
> a short string. Perhaps a PATH mempool should be created for this
> kind of use?

 We have string pools that take size parameter for both alloc and free.
 We could use these pools?
 What is general view, should we create a pool for each alloc kind, or
 should we try to keep pool count low and reuse pools if alloc sizes
 match well?

------------------------------------
 Andres Kroonmaa <andre@online.ee>
 Delfi Online
 Tel: 6501 731, Fax: 6501 708
 Pärnu mnt. 158, Tallinn,
 11317 Estonia
Received on Thu Oct 05 2000 - 02:05:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:41 MST