Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-02-01 Thread Stas Malyshev
Hi! The filesystem issues are mostly due to what we do in TS mode, way too much pointless operations, even if the real cache helps a little bit here (take this comment with a bit of salt: as in delta with the cache between TS and NTS). What we do in TS mode with filesystem that could explain

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-02-01 Thread Pierre Joye
On Tue, Feb 1, 2011 at 9:53 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! The filesystem issues are mostly due to what we do in TS mode, way too much pointless operations, even if the real cache helps a little bit here (take this comment with a bit of salt: as in delta with the cache

Re: [PHP-DEV] implicit reference

2011-02-01 Thread Mathias Grimm
It is a 2-step-migration step 1 - php 4 and 5.3 step 2 - only php 5.3 because there are various clients using that system. the development cycle cant stop with bug fixing and new features required by clients. no way to make a branch. We know that in the step 1 is a very horrible solution, but

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-02-01 Thread Stas Malyshev
Hi! This delta has very little impact on real world apps except those doing exclusively such ops. The benchmarks I did suggest otherwise. Real world apps do huge number of file ops like file_exists(). And while many apps aggressively cache DB calls and such, filesystem calls are still

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-02-01 Thread Pierre Joye
On Tue, Feb 1, 2011 at 10:23 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Though, of course, maybe I'm wrong - what would you suggest is the problem then? I saw similar slowdowns on 1-process benchmarks as on multi-process server benchmarks - so I have hard time believing it has anything to

Re: [PHP-DEV] implicit reference

2011-02-01 Thread Reindl Harald
Am 01.02.2011 10:21, schrieb Mathias Grimm: It is a 2-step-migration nonsense step 1 - php 4 and 5.3 the best way to trash something beautiflul step 2 - only php 5.3 step 1 requires horrible code and so much work and with step 2 you have even more work to get the trash from step 1 clean

[PHP-DEV] size_t, casting and expression is always true (or false)

2011-02-01 Thread Richard Quadling
Hi. I was looking at the cause for a test failing. It came down to ... size_t n; if (n 0) { // Code never reached as n is unsigned and cannot be negative. } I'm not a strong c developer, but from reading it seems that size_t is always unsigned. Using the windows compiler (and turning on

Re: [PHP-DEV] size_t, casting and expression is always true (or false)

2011-02-01 Thread Richard Quadling
On 1 February 2011 15:07, Andrey Hristov p...@hristov.com wrote:  Hi Richard, On 02/01/2011 02:35 PM, Richard Quadling wrote: Hi. I was looking at the cause for a test failing. It came down to ... size_t n; if (n 0) {  // Code never reached as n is unsigned and cannot be negative. }

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-02-01 Thread Johannes Schlüter
On Tue, 2011-02-01 at 01:04 +0100, Pierre Joye wrote: On Mon, Jan 31, 2011 at 11:33 PM, Stas Malyshev smalys...@sugarcrm.com wrote: But I strongly believe in a threaded base solution for windows. That's the only way to get anywhere close to the performance we can see on other platforms

[PHP-DEV] operator override

2011-02-01 Thread Mathias Grimm
someone can help me to make the ZEND_ASSIGN operator overloading? i've looked de pecl operator extension but i dont have the necessary skills to do that.

Re: [PHP-DEV] Re: Zend mm

2011-02-01 Thread Adi Mutu
Thanks a lot, for all the help about zend mm guys,  i'm very grateful. Thanks,A. --- On Sun, 1/30/11, Ben Schmidt mail_ben_schm...@yahoo.com.au wrote: From: Ben Schmidt mail_ben_schm...@yahoo.com.au Subject: Re: [PHP-DEV] Re: Zend mm To: Adi Mutu adi_mut...@yahoo.com Cc: