Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74256 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1047 invoked from network); 16 May 2014 08:59:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2014 08:59:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.43 mail-qg0-f43.google.com Received: from [209.85.192.43] ([209.85.192.43:46429] helo=mail-qg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/57-58167-E53D5735 for ; Fri, 16 May 2014 04:59:11 -0400 Received: by mail-qg0-f43.google.com with SMTP id 63so3686083qgz.16 for ; Fri, 16 May 2014 01:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=q/bxg2zqKDClXY6Upxhsgr74ESmy9jkb49lvUrL9oFQ=; b=ShHmYlcmmYkVV6X15sxUAhtk3OlqzBvNVYVklILJ0DW+pbQUqneamAeJrY/juXgciv ifIwOYvpgK6f+fwvnRAJVFNG7vdVEcAgooKdllLTTTJW2pQFbNk9n0ACYfKhEdNa/zM9 kyi9Mw1Na4exM3srzLhoM6E+0ni17ZUw+S9ylT7jy1x0P7PmBZPlgSAENL19vtFOPAE9 zu9zX54UBfkUiHLhei+E6WL7d/NeB/LnGTU/MqEuD2EV3Wwq7s0JFvMqHa+KpKryr4QH K+VHou1vgNs4eAG5Aiwe9B/FDULGm+fRDhzDeNheYC/C+tvkiiceJNYT2TbasPd5lJjA SCFw== MIME-Version: 1.0 X-Received: by 10.140.104.44 with SMTP id z41mr22205227qge.76.1400230748204; Fri, 16 May 2014 01:59:08 -0700 (PDT) Received: by 10.140.47.231 with HTTP; Fri, 16 May 2014 01:59:08 -0700 (PDT) In-Reply-To: References: <537539AC.8080906@sugarcrm.com> <5375A15A.5020104@phpdoc.de> Date: Fri, 16 May 2014 10:59:08 +0200 Message-ID: To: Dmitry Stogov Cc: Ulf Wendel , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] on memory usage with the 64bit patch, and interpretation of various numbers From: pierre.php@gmail.com (Pierre Joye) On Fri, May 16, 2014 at 9:50 AM, Dmitry Stogov wrote: > Pierre, > > 1) if you reduce size off all language entities to 32-bit, then what this > patch would provide except of extending string to have 64-bit length? > but you always talk - it's a side effect (I'm not talking about IS_LONG > part). You keep using the same arguments in the loop and I keep answering the same thing as well. Not sure that will lead us anywhere. Anyway, let me try a last time. To be able to have 2^64 (-1 as zend_string use unsigned char) is by far not the goal but what is very well described in the links we posted, the answers we gave, etc. > 2) In phpng we use zend_string* for class, function and other names, so > extending zend_string would extend all of them anyway. Besides the fact that phpng is still a huge prototype and many things may still change in the next months/year, choices being done now does not mean they are written in stone. And as I said numerous times already, I did not have the time to analyze phpng more deeper yet while busy fixing it to make at least build or do not crash on supported platforms. Cheers, -- Pierre @pierrejoye | http://www.libgd.org