Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76796 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56955 invoked from network); 22 Aug 2014 10:04:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2014 10:04:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:44969] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/D9-09530-D9517F35 for ; Fri, 22 Aug 2014 06:04:14 -0400 Received: by mail-vc0-f170.google.com with SMTP id lf12so12064467vcb.15 for ; Fri, 22 Aug 2014 03:04:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=qIuvj2I5T+/ZZ8BPddfjavkfZW/R71DBpuUrH/8o4vw=; b=gX/+dC1mX+bYE5sMXkhCVK5QBx0LLFa0kNVInL2eR3fVHOOCpr/ErBTXzbPVLVHYTJ c8MjKDHl5/DFZwJWe3jYqwNjtLzOGDMIio1GVdsgmFeSYevFtMd1fOuJYcJoi/9DTRyS xBC0/fry2p7kZ+fIZSg+iOtFx0td4nZNJDhn9GMt6FYsYKXiRNU+VvjcTkxdZpw6imP0 i2pT6Bsa+1h1UL9Mne54hEXxpIfhVeIpDNqFyVMInjSatpfSIxwKZlWto5itAp3KpPu5 0/lwIzh0+1kVNwK/3s47rK7Z7Pm/Mm8dYYnGuG9tO127TOuBgu+aXot5gMhm2H7CskX+ Kxqw== X-Gm-Message-State: ALoCoQk0debEotaEjHmvYyPJm9TzTGhFbuEBeQWol94wWwaAdnDheoXoyToLjZ2iYZYdianeMDWnwzUf5Ekz6Fg2hYKWB3t74tbySOQ71CzHC1jHEsY463KpTt0kDL37A3T9k4xiWBtY MIME-Version: 1.0 X-Received: by 10.220.110.77 with SMTP id m13mr92270vcp.35.1408701851497; Fri, 22 Aug 2014 03:04:11 -0700 (PDT) Received: by 10.52.110.170 with HTTP; Fri, 22 Aug 2014 03:04:11 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 Aug 2014 14:04:11 +0400 Message-ID: To: PHP Internals Cc: Nikita Popov Content-Type: multipart/alternative; boundary=047d7b3a9060740dd3050134f5e4 Subject: Re: [PHP-DEV] New Memory Manager for PHP7 From: dmitry@zend.com (Dmitry Stogov) --047d7b3a9060740dd3050134f5e4 Content-Type: text/plain; charset=UTF-8 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 wrote: > On Mon, Aug 18, 2014 at 12:04 PM, Nikita Popov > wrote: > > On Mon, Aug 18, 2014 at 7:59 PM, Levi Morrison wrote: > >> > >> On Mon, Aug 18, 2014 at 6:04 AM, Dmitry Stogov 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. > --047d7b3a9060740dd3050134f5e4--