In computer science, Duff's device is an optimized implementation of a serial copy that uses a technique widely applied in assembly language for loop unwinding. Its discovery is credited to Tom Duff in November 1983, who at the time was working for Lucasfilm. It is perhaps the most dramatic use of case label fall-through in the C programming language to date. Duff does not claim credit for discovering the concept of loop unrolling, just this particular expression of it in C.
Read more about Duff's Device: Background, Original Version, Why It Works, Performance, Stroustrup's Version, Books
Famous quotes containing the words duff and/or device:
“Why do you wear your hair like a man,”
—Henry Duff Traill (18421900)
“It is my hope to be able to prove that television is the greatest step forward we have yet made in the preservation of humanity. It will make of this Earth the paradise we have all envisioned, but have never seen.”
—Joseph ODonnell. Clifford Sanforth. Professor James Houghland, Murder by Television, just before he demonstrates his new television device (1935)