Re: Property access slowness

From: Date: Sun, 25 May 2003 04:08:38 +0000
Subject: Re: Property access slowness
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1976@lists.php.net to get a copy of this message
At 12:15 PM 5/24/2003 -0400, Sterling Hughes wrote:
Hi, Property access with PHP5 is very slow compared to PHP4. The reason for this is that property access must be verified *every* time. This seems really unnecessary unless we're indirectly accessing properties. Can/Should this be moved to zend_compile.c for everything that doesn't rely on indirect reference?
Which accesses are slower, $obj->prop, $this->prop or both? Andi

« previous php.internals (#1976) next »