summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2017-02-12 19:59:52 +0800
committerWill Estes <westes575@gmail.com>2017-02-16 13:26:21 -0500
commitc7a545ae0907c81cf52139dd391659586570f60c (patch)
treeedf686d64f473abea392aee425521a22116d9f11 /configure.ac
parent122e58965acaf67386d1fc6893f069bd27e5aa26 (diff)
scanner: compute powers of two faster.
Replace the naive "for" loop in determining power of two with a clever bitwise solution. This code is around the Internet already and is in Public Domain.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions