HANDLE_NUMERIC()
| From: | Sterling Hughes | Date: | Thu, 22 May 2003 16:52:25 +0000 |
| Subject: | HANDLE_NUMERIC() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-1903@lists.php.net to get a copy of this message | ||
Hi,
I've attached a small patch which removes HANDLE_NUMERIC() from
zend_hash.c, and moves it instead to the necessary places in
zend_execute.c, in the form of a zend_is_numeric_key() function defined
in zend_operators.c
Anyhow, I'm getting a really nice performance increase. Although it
depends on the usage, it certainly makes pretty much everything zippier
(and dare I say sexier. :)
-Sterling
--
"First they ignore you, then they laugh at you,
then they fight you, then you win."
- Gandhi
Attachment: [text/x-patch] handle_numeric.diff
Attachment: [text/x-patch] handle_numeric.diff