Re: [PHP-DEV] Re: zend_hash_sort_ex() From: Andrei Zmievski (andrei <email protected>)
Date: 10/26/99

On Tue, 26 Oct 1999, Andi Gutmans wrote:
> if "renumber" is true, you ask the hash_sort() function to sort by value
> and discard the previous keys, assigning new keys according to the new
> order. As a result of the keys changing hash_sort() calls hash_rehash()
> which assigns all of the new key/value pairs to their new bucket which is
> calculated according to the new key.

So, if the keys aren't changing then it's not necessary to call
zend_hash_rehash()?

-Andrei
* Change is the only constant. *

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>