Duff's Device

In the C programming language, Duff's device is a way of manually implementing loop unrolling by interleaving two syntactic constructs of C: the do-while loop and a switch statement. Its discovery is credited to Tom Duff in November 1983, when Duff was working for Lucasfilm and used it to speed up a real-time animation program. Loop unrolling attempts to reduce the overhead of conditional branching needed to check whether a loop is done, by executing a batch of loop bodies per iteration. To handle cases where the number of iterations is not divisible by the unrolled-loop increments, a common technique among assembly language programmers is to jump directly into the middle of the unrolled loop body to handle the remainder. Duff implemented this technique in C by using C's case label fall-through feature to jump into the unrolled body.

Black Label - 2016-09-21T00:00:00.000000Z

A Wicked Child - 2017-07-21T00:00:00.000000Z

The Terrible Secret - 2012-04-08T00:00:00.000000Z

Similar Artists

Insanity Check

WEEDBEETZ

Christoph Gray

The Neo-Satanic Acid Cult

David Boitier

93 Steps

Marco De Ritis

Equinox

Switchball

Brave Wave Productions

Modern Versatile Drummer

Bobby Prince

Efe Tozan

DMCA Kupa

Plains Desperate Symphony

Christian Meneghini

Chris Garcia

Jerry Berlongieri

XM799

Trauma Mammal