Re: zend_hash_add_or_update flaw
| From: | Stanislav Malyshev | Date: | Thu, 07 Dec 2000 08:49:55 +0000 |
| Subject: | Re: zend_hash_add_or_update flaw | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40320@lists.php.net to get a copy of this message | ||
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@zend.com http://www.zend.com/ +972-3-6139665 ext.106