note 103110 deleted from control-structures.goto by danbrown

From: Date: Sat, 11 Jun 2011 14:58:12 +0000
Subject: note 103110 deleted from control-structures.goto by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180437@lists.php.net to get a copy of this message
Note Submitter: petros at rufunka dot com ---- About the comparison in the previous post between goto and while, goto is NOT as fast as while, it is always slower for about 25%. In my tests by using the code below, with the addition of a for loop I get: goto: 0.0558710098267 while: 0.0439591407776 for: 0.0468330383301 In another test PC I have seen goto being even 50% slower.

« previous php.notes (#180437) next »