Re: [PHP-DEV] zend_hash_add_or_update flaw From: Stanislav Malyshev (stas <email protected>)
Date: 12/07/00

On Wed, 6 Dec 2000, Andi Gutmans wrote:

AG>> By the way, I just checked the glibc assembly routine and it seems to be
AG>> quite a bit slower. The i686 version is like 20 assembly commands and it
AG>> looks as if it's implemented as a function (unless gcc takes care of it
AG>> earlier).

glibc unrolls memmoves if you define __USE_STRING_INLINES
It still does not unroll it in the most optimal way (movsb instead of one
mov), maybe I missed yet another define. Still saves a function call.

-- 
Stanislav Malyshev, Zend Products Engineer   
stas <email protected>  http://www.zend.com/ +972-3-6139665 ext.106

-- 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>