Re: phpng: Refactored PHP Engine with Big Performance Improvement
| From: | Dmitry Stogov | Date: | Tue, 06 May 2014 00:22:42 +0000 |
| Subject: | Re: phpng: Refactored PHP Engine with Big Performance Improvement | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73926@lists.php.net to get a copy of this message | ||
yes. it must be easier to implement (less places have to be changed), but
it may increase memory consumption.
Thanks. Dmitry.
On Tue, May 6, 2014 at 4:16 AM, Stas Malyshev <smalyshev@sugarcrm.com>wrote:
> Hi!
>
> > Anyway, I think 64-bit integer support on Windows64 makes full sense and
> > it's possible to add it into "phpng" right now.
> >
> > I'm not so sure about size_t string length.
>
> Shouldn't it be easier in phpng with everything using zend_string*
> instead of char*+int? As far as I can see, making zend_string use 64-bit
> length should be more or less painless, and then we only need to watch
> out when we take string length and assign it to some other variable,
> which shouldn't be too many places I hope.
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>