Re: Smart strings & memory allocation

From: Date: Wed, 18 Jun 2003 13:52:20 +0000
Subject: Re: Smart strings & memory allocation
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-2367@lists.php.net to get a copy of this message
On Wed, 2003-06-18 at 15:41, Stanislav Malyshev wrote: > BTW, I don't exactly think dmalloc is the best way for what we are going > to do, since AFAIK it's general-purpose allocator, and what we need is > more to the direction of fixed-size block allocator. Fixed-size? Do you mean an allocator that is optimized for allocation of blocks of a certain size, or an allocator that can only allocate blocks of a certain size? I have only written a couple of allocators, and the best one I did used fixed block sizes, such as 16 bytes, 32 bytes, 64 bytes and so on... I suppose that's the way dlmalloc works as well, and that's the problem. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.nobolt.com

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.internals (#2367) next »