Re: Re: HANDLE_NUMERIC()

From: Date: Thu, 22 May 2003 19:08:40 +0000
Subject: Re: Re: HANDLE_NUMERIC()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-1910@lists.php.net to get a copy of this message
On Thu, 22 May 2003, Sterling Hughes wrote: > What areas rely on it though? Think about how esoteric this usage is. > AFAICT (and Zeev) HANDLE_NUMERIC() is only used when you assign to an > array: > > $ar["20"] = 10; > > Where else to imagine that this feature would be used? The only place > that really concerns me is engine level, but I can't find the problem > there. As far as extension space, I've written enough extensions and > maintained enough "extension-ish" code, and I haven't run across this > once. > > Leaner hashtables may also be an option, but I can't see a reason that > HANDLE_NUMERIC() belongs in the hash table implementation. Sterling, I think you should go to college to reduce your amount of free time. That, or become a merchant sailor. :) -Andrei "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute, and it's longer than any hour. That's relativity." -- Einstein, on relativity

« previous php.internals (#1910) next »