2 points | by bananamogul an hour ago
1 comments
The Wikipedia version is simplified, but it bears mentioning that as written, it's going to be slower than the trivial version for most N's on 1983 compilers and systems. Fixed:
register n = (count + 7) >> 3; switch (count - (n << 3))
The Wikipedia version is simplified, but it bears mentioning that as written, it's going to be slower than the trivial version for most N's on 1983 compilers and systems. Fixed: