diff options
| author | Yury Norov <yury.norov@gmail.com> | 2023-10-28 12:05:29 -0700 |
|---|---|---|
| committer | Yury Norov <yury.norov@gmail.com> | 2023-12-03 10:28:17 -0800 |
| commit | 27c82f14e6d2bcb9f085bad37fe339227571de60 (patch) | |
| tree | eb381cc01b87c64b93a04df8f9714b0cd4c496e9 /scripts/generate_rust_analyzer.py | |
| parent | lib/find_bit: Fix the code comments about find_next_bit_wrap (diff) | |
| download | linux-27c82f14e6d2bcb9f085bad37fe339227571de60.tar.gz linux-27c82f14e6d2bcb9f085bad37fe339227571de60.zip | |
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: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
