Duff's Device

This is an optimization technique used when unrolling loops. Discovered by Tom Duff way back in November 1983, the technique was apparently used when he was working at Lucasfilm.

Duff's Device takes advantage of label fall-throughs particularly in ASM and C.


comments powered by Disqus