Re: [PHP-DEV] New Memory Manager for PHP7
[email protected] (Nikita Popov)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <CAF+90c_pmu3j8RQ7s5J-jaYzTLjOhc79uR5VVWJQxTRcjPe12A@mail.gmail.com> |
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 Nikita