Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1970 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91840 invoked from network); 24 May 2003 17:41:19 -0000 Received: from unknown (HELO carmine.bestweb.net) (209.94.102.73) by pb1.pair.com with SMTP; 24 May 2003 17:41:19 -0000 Received: from [192.168.1.101] (ip216-179-71-153.cust.bestweb.net [216.179.71.153]) by carmine.bestweb.net (Postfix) with ESMTP id C665623E5F; Sat, 24 May 2003 12:41:14 -0500 (EST) To: internals@lists.php.net Cc: Zeev Suraski , andi@zend.com Content-Type: text/plain Organization: Message-ID: <1053792926.14443.667.camel@hasele> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 24 May 2003 12:15:26 -0400 Content-Transfer-Encoding: 7bit Subject: Property access slowness From: sterling@bumblebury.com (Sterling Hughes) 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? -Sterling -- "Programming today is a race between software engineers stirring to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Unknown