Based on the definitions, ilog2(roundup_pow_of_two(x)) == order_base_2(x). Replace the former with the latter in a few places to save a few calculations.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Differential D46827
roundup_pow_of_two: don't take the log of it dougm on Sep 28 2024, 12:02 AM. Authored by Tags None Referenced Files
Details
Based on the definitions, ilog2(roundup_pow_of_two(x)) == order_base_2(x). Replace the former with the latter in a few places to save a few calculations.
Diff Detail
Event Timeline |