Re: New Memory Manager for PHP7
| From: | Nikita Popov | Date: | Mon, 18 Aug 2014 18:04:53 +0000 |
| Subject: | Re: New Memory Manager for PHP7 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76667@lists.php.net to get a copy of this message | ||
On Mon, Aug 18, 2014 at 7:59 PM, Levi Morrison <levim@php.net> wrote:
> On Mon, Aug 18, 2014 at 6:04 AM, Dmitry Stogov <dmitry@zend.com> 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