I'd appreciate if people tested this. To check it out go into your php4/Zend CVS tree and do:
cvs update -r PRE_NEW_HASH_FUNC_PATCH
Andi
Date: Mon, 09 Jul 2001 21:24:22 +0300
To: php-dev@lists.php.net
From: Andi Gutmans <andi@zend.com>
Subject: [PHP-DEV] Faster zend_hash
Guys,
I've commited a patch for zend_hash.* in the Zend CVS branch PRE_NEW_HASH_FUNC_PATCH (yeah the branch name shouldn't be with the PRE ) which increases the speed of our hash tables significantly.
Can you please try it out and see that it works for you and give me feedback if you notice a difference? testarray seems to be about 20% faster now but it's not a typical script has it has many hash lookups.
Make sure you build PHP from scratch (do a make clean) because the dependencies don't work very well and with an unclean build you'll probably get a crash.
If it works for everyone I'll merge it.
Andi
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net