Re: The "goto" discussion on the Internals List

From: Date: Tue, 07 Jun 2005 18:26:21 +0000
Subject: Re: The "goto" discussion on the Internals List
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-216578@lists.php.net to get a copy of this message
Jay Blanchard wrote: <snip>
The speed difference is negligible though, in this day and age, dependent upon how much hair-splitting you would care to do. You're still setting aside a block of code which will have to be parsed and you incur the same setup if the goto section is the same code as the function. The overhead is introduced in the calling of the function. But we're splitting hairs here :) </snip>
Ah, but goto isn't really the same as a function. Functions are along the lines of gosub. *not to be left out on the splitting of hairs ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#216578) next »