Fwd: [PHP-DEV] Faster zend_hash

2001-07-09 Thread Andi Gutmans

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: [EMAIL PROTECTED]
From: Andi Gutmans [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: Fwd: [PHP-DEV] Faster zend_hash

2001-07-09 Thread Andrei Zmievski

On Mon, 09 Jul 2001, Andi Gutmans wrote:
 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

And don't forget to cvs upd -A after you are done testing.

-Andrei

Someone clearly thinks that C is a garbage collected language
 -- Morten Welinder

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: Fwd: [PHP-DEV] Faster zend_hash

2001-07-09 Thread Andi Gutmans

At 03:47 PM 7/9/2001 -0500, Andrei Zmievski wrote:
On Mon, 09 Jul 2001, Andi Gutmans wrote:
  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

And don't forget to cvs upd -A after you are done testing.

Yep :) Thanks for adding that. People tend to forget about it.

Andi


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: Fwd: [PHP-DEV] Faster zend_hash

2001-07-09 Thread Sebastian Bergmann

Andi Gutmans wrote:
 I'd appreciate if people tested this.

  It compiles fine on Win32 and runs nicely with phpMyAdmin and
phpOpenTracker.

-- 
 sebastian bergmannhttp://www.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]