| List: | Internals | « Previous MessageNext Message » | |
| From: | Kristian Nielsen | Date: | May 15 2009 5:09am |
| Subject: | Re: MySQL Reengineering Project | ||
| View as plain text | |||
Alaric Snell-Pym <alaric@stripped> writes: > Avoiding malloc is a noble goal indeed! > > But for request-based systems, though, would it not be a good idea to > have an Apache-style request memory pool system, which could allocate > objects less than a certain size limit sequentially from pages of a > suitably tuned size, thus amortizing mallocs behind an abstraction > layer rather than having lots of little tricks here and there? What you describe here sounds very much like the memroot functionality that is widely used in the server. - Kristian.
