Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11767 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57515 invoked by uid 1010); 31 Jul 2004 12:46:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57057 invoked from network); 31 Jul 2004 12:46:21 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 31 Jul 2004 12:46:21 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i6VCkLvO019399 for ; Sat, 31 Jul 2004 14:46:21 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i6VCkJS5019391; Sat, 31 Jul 2004 14:46:19 +0200 Date: Sat, 31 Jul 2004 14:46:19 +0200 (CEST) X-X-Sender: derick@localhost To: Sara Golemon cc: internals@lists.php.net In-Reply-To: <20040729150602.14998.qmail@pb1.pair.com> Message-ID: References: <20040729021337.73894.qmail@pb1.pair.com> <200407291117.09573.lpedretti@suserver.com> <1091112020.18112.15.camel@blobule.suds> <20040729150602.14998.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: Re: [PHP-DEV] GOTO operator From: derick@php.net (Derick Rethans) On Thu, 29 Jul 2004, Sara Golemon wrote: > *this* implementation of GOTO requires a hash lookup, however it could be > reworked to use the same backpatching as the ZEND_JMP ops used with > conditional statements. While doing that would speed execution time by > skipping the hash lookup, it'd slow compile time and remove the ability to > use complex expressions as goto targets (i.e. goto "foo$i"; ). I think that's a good thing actually ;-) Derick