RE: [PHP-DEV] messing with branch prediction
| From: | Derick Rethans | Date: | Wed, 21 Jun 2006 06:35:59 +0000 |
| Subject: | RE: [PHP-DEV] messing with branch prediction | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-24168@lists.php.net to get a copy of this message | ||
On Wed, 21 Jun 2006, Zeev Suraski wrote:
> Well, as I said I think it actually makes the code more readable, by hinting
> you what you can ignore if you're running through the 'common case' (i.e.,
> even if this macro was a no-op). Diving into a big block of code is easier if
> you can ignore parts of it to get the general understanding of what it does.
> And if we might get some performance boost out of it, that's even better.
Actually, this is why C has the concept of comments in code.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org