commit | 813840c9d199bf9e26d23291cf23e22a68e8ad82 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Thu Jan 18 18:16:11 2007 -0500 |
committer | Rob Landley <rob@landley.net> | Thu Jan 18 18:16:11 2007 -0500 |
tree | 3ffb358ef236cc64755c207a45c03a89599c8279 | |
parent | c4a5521e452306bc9872df90d2556de68879b12e [diff] |
More optimizations originally suggested by Manuel Nova: Use a sentinel value for limit[] to move a test out of a loop. Unroll a single-bit get_bits() to avoid a function call in the common case on a hot path. And one more application of the old "two tests in one via typecasting and/or math" trick.