Open
Description
unordered-containers/Data/HashMap/Internal.hs
Lines 2071 to 2098 in 4da2c20
- The initial bit mask
bi
is 1. It would be better to start with the lowest set bit (b0 .&. negate b0
). - On each iteration the bit mask is left-shifted by 1. It would be better to pick the next lowest set bit.