Re: New Memory Manager for PHP7
| From: | Dmitry Stogov | Date: | Fri, 22 Aug 2014 10:04:11 +0000 |
| Subject: | Re: New Memory Manager for PHP7 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76796@lists.php.net to get a copy of this message | ||
Hi,
I'm going to commit this on next week, if nobody cares.
MM is a self containing subsystem, and it must not affect anything else.
Thanks. Dmitry.
On Mon, Aug 18, 2014 at 10:07 PM, Levi Morrison <levim@php.net> wrote:
> On Mon, Aug 18, 2014 at 12:04 PM, Nikita Popov <nikita.ppv@gmail.com>
> wrote:
> > 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
> > ¼
> > o9šˆ‘’jYÑà&…xhttps://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.
>