On Sat, Jan 5, 2013 at 6:58 PM, Nikita Nefedov <inefe...@gmail.com>
wrote:
**
Though there would be a little speed-up because with Symbols array's
Buckets will keep numeric key, so instead of memcmp you will need to
just
compare two longs when retrieving element.
Before memcmping the array keys PHP will first compare the pointers. For
interned strings the pointers will be the same so the memcmp is not done.
See http://lxr.php.net/xref/PHP_TRUNK/Zend/zend_hash.c#950.
My fault, didn't see it in the source...
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php