Re: Re: Property access slowness

From: Date: Sun, 25 May 2003 14:52:17 +0000
Subject: Re: Re: Property access slowness
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-1991@lists.php.net to get a copy of this message
> > > One optimization that we could make is keep a pointer from each property > > value to its corresponding property_info entry. The price of that is some > > additional memory overhead, plus the fact that we'd have to give up the > > standard zval sybmol table that objects today have, that can bring about > > quite a few annoying side effects. It won't completely annihilate the > > overhead either - because we'll still have to make the checks, we'd just be > > saving the lookup. > > Just a note that you actually save more than a lookup. You save a lookup "best case." -Sterling -- "Whether you think you can or think you can't -- you are right." - Henry Ford

« previous php.internals (#1991) next »