Re: [PHP-DEV] New Memory Manager for PHP7
[email protected] (Levi Morrison)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <CAFMT4Np4jxw5NW9NrxA-1A4SVa9xFB08hSj3Rc44MiqZzqzJBA@mail.gmail.com> |
On Mon, Aug 18, 2014 at 12:04 PM, Nikita Popov <[email protected]> wrote: > On Mon, Aug 18, 2014 at 7:59 PM, Levi Morrison <[email protected]> wrote: >> >> On Mon, Aug 18, 2014 at 6:04 AM, Dmitry Stogov <[email protected]> wrote: >> > Hi, >> > >> > Please take a look into the proposed new Memory Manager for PHP: >> > >> > https://github.com/php/php-src/pull/777 >> >> It looks like the gains are mostly earned by passing size information; >> is that correct? > > > Nope, this is an entirely new allocator implementation. GitHub doesn't show > it in the diff because there are too many changes. See the file > https://github.com/dstogov/php-src/blob/xx_malloc/Zend/zend_alloc.c Ah, I knew it couldn't be that simple. Thanks for pointing out my oversight.