note 91423 deleted from control-structures.goto by danbrown
| From: | danbrown@php.net | Date: | Tue, 09 Jun 2009 23:29:19 +0000 |
| Subject: | note 91423 deleted from control-structures.goto by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156692@lists.php.net to get a copy of this message | ||
Note Submitter: ray dot rwalk2730 at gmail dot com
----
True, however goto's fight branch prediction logic and cause pipelines to be unnecessarily
emptied. This is because they are built around expected complier usage not application usage, which
appears as random to branch prediction logic. Therefore, gotos fight CPU optimizations.