Re: New Memory Manager for PHP7

From: Date: Mon, 18 Aug 2014 18:07:24 +0000
Subject: Re: New Memory Manager for PHP7
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-76668@lists.php.net to get a copy of this message
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 > > 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.

« previous php.internals (#76668) next »