> 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 know that this is a significant problem? Quantify first, optimize later. This applies to the whole thread which is quite undirected regarding solving a specific problem. - Sascha -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php