Find index of first set (one) bit or typeof(return).max if no bit set.
Optimized for ones-sparsity.
See Implementation
Find index of first set (one) bit or typeof(return).max if no bit set.
Optimized for ones-sparsity.