Re: [PHP-DEV] Re: Zend engine's hashtable performance tweaks

2011-01-31 Thread Marcin Babij
APC should be fixed. Hi Marcin, Can you mail the PHP Internals list and also the apc-...@lists.php.net list when you have logged the bug? I mentioned your patches to Gopal, the APC maintainer, and he was interested to see what was needed. Regards, Chris On 01/11/2011 04:28 PM, Marcin Babij wr

Re: [PHP-DEV] Support negative indexes for arrays and strings

2011-01-14 Thread Marcin Babij
> Hello everyone, > > I would like to open the discussion around the support of negative indexes, > as I feel a lot of developers will benefit from this syntactical sugar. > > Example: > > echo $foo[2]; // 3 > echo $foo[-1]; // 3 Negative indexes are used already - for negative indexes. What shou

Re: [PHP-DEV] Re: Zend engine's hashtable performance tweaks

2011-01-01 Thread Marcin Babij
Hi! Sorry for no attachments in previous message, I think my attachments weren't redirected with message by lists.php.net email confirmation system. I send them again, and for sure I attach links to public copy of them over HTTP: https://gist.github.com/761094 - php-5.3.4-hashtable-optimization.

[PHP-DEV] Re: Zend engine's hashtable performance tweaks

2010-12-31 Thread Marcin Babij
Sorry for no attachments in previous message, I think my attachments weren't redirected with message by lists.php.net email confirmation system. I send them again, and for sure I attach links to public copy of them over HTTP: https://gist.github.com/761094 - php-5.3.4-hashtable-optimization.

Re: [PHP-DEV] Zend engine's hashtable performance tweaks

2010-12-31 Thread Marcin Babij
Sorry, I've attached .patch files, I'm attaching them as .txt now. hi, Did you forget to attach the patch? Attach it as .txt so the list won't reject it. Cheers, On Fri, Dec 31, 2010 at 3:40 PM, Marcin Babij wrote: Hello, I work for social network company, where

[PHP-DEV] Zend engine's hashtable performance tweaks

2010-12-31 Thread Marcin Babij
bytes, which will make most string keys omit memcpy at all. The patch was created and tested against php-5.3.0, apc-3.1.3p1, then merged with php-5.3.4, apc-3.1.6 without conflicts, and for these last versions patches are attached. Also, it shouldn't conflict with http://wiki.php.net