Re: phpng: Refactored PHP Engine with Big Performance Improvement

From: Date: Tue, 06 May 2014 08:13:39 +0000
Subject: Re: phpng: Refactored PHP Engine with Big Performance Improvement
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-73951@lists.php.net to get a copy of this message
On Tue, May 6, 2014 at 10:07 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote: > Hi! > >> It is hardly imaginable to release php 6 with strings length still >> using integer. The memory consumption has been shown to be minimal > > Why btw it would be unimaginable? I.e., how many PHP apps really need to > load strings of 2g+ size? I'm not advocating for not doing this, just > curious why it is that big of a deal. Because it is really a bad way to support 64bit architecture. Many compilers, analyzer or related tools can do a much better job when modern and clean typing are used, let alone the safe typing (no, using int for buffer length is not safe nor clean :). In the last thread about this topic we posted many external links to documentation or tutorials explaining in details why size_t and co should be used. If you are interested to go deeper in this topic, -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#73951) next »