diff options
author | Rob Landley <rob@landley.net> | 2007-01-18 18:16:11 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-01-18 18:16:11 -0500 |
commit | 813840c9d199bf9e26d23291cf23e22a68e8ad82 (patch) | |
tree | 3ffb358ef236cc64755c207a45c03a89599c8279 /toys/bzcat.c | |
parent | c4a5521e452306bc9872df90d2556de68879b12e (diff) | |
download | toybox-813840c9d199bf9e26d23291cf23e22a68e8ad82.tar.gz |
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.
Diffstat (limited to 'toys/bzcat.c')
0 files changed, 0 insertions, 0 deletions