Re: HANDLE_NUMERIC()

From: Date: Thu, 22 May 2003 18:58:50 +0000
Subject: Re: HANDLE_NUMERIC()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1905@lists.php.net to get a copy of this message
At 12:52 PM 5/22/2003 -0400, Sterling Hughes wrote:
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. :)
I'm not sure you can be certain that other places in PHP don't use the feature of HANDLE_NUMERIC. Seems to be quite a dangerous patch to me even if you solved it for the symbol table. Andi

« previous php.internals (#1905) next »