On Wed, 2003-06-18 at 16:19, Sascha Schumann wrote: > > This might actually be a very good idea, since it can likely improve > > performance a lot by having a pool of zval-sized blocks (I have no idea > > of how big they are). Have you thought about how to implement it in a > > good way? > Free lists already exist.
That's good, but that's only one step. Some system mallocs are very inefficient on small blocks so it might be very worthwhile to grab a "chunk" of, say, 64k, instead of many small mallocs of 20 bytes. How do you propose that we should handle those systems, where the libc malloc is inefficient? -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.nobolt.com
signature.asc
Description: This is a digitally signed message part