Commit 27c82f14 authored by Yury Norov's avatar Yury Norov
Browse files

lib/find: optimize find_*_bit_wrap



When an offset is 0, there's no need to search a bitmap from the
beginning after the 1st search failed, because each bit has already
been tested.

Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
parent 92697139
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment