Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How Duff's Device Works. Parent comment
http://www.lysator.liu.se/c/duffs-device.html
The VAX C compiler compiles the loop into 2 instructions (a movw and a sobleq, I think.) As it turns out, this loop was the bottleneck in a real-time animation playback program which ran too slowly by about 50%.
There are no comments on this comment yet.
http://www.lysator.liu.se/c/duffs-device.html
The VAX C compiler compiles the loop into 2 instructions (a movw and a sobleq, I think.) As it turns out, this loop was the bottleneck in a real-time animation playback program which ran too slowly by about 50%.