So the important point here is that we only have to evaluate if (--$n > 0) one eighth of the time?To quote myself:
Duff's device does two things: it does loop unrolling, and it uses a neat/tricky way of dealing with the border case of a loop unrolling technique.So, I'd say it's an important thing.
Abigail
In reply to Re: Duff's Device
by Abigail-II
in thread Duff's Device
by davido
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |