commit | 4a8abbb400afe695f145a487380c04a946500bc6 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Wed Apr 06 10:32:06 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Wed Apr 06 10:32:06 2016 -0700 |
tree | 847dd16b4b150cd2fb20b9146086758690517f5f | |
parent | a3c4193280b2fbd267b68f3bce091a53b5ea0b97 [diff] |
Fix bitmap_sfu() regression. Fix bitmap_sfu() to shift by LG_BITMAP_GROUP_NBITS rather than hard-coded 6 when using linear (non-USE_TREE) bitmap search. In practice this affects only 64-bit systems for which sizeof(long) is not 8 (i.e. Windows), since USE_TREE is defined for 32-bit systems. This regression was caused by b8823ab02607d6f03febd32ac504bb6188c54047 (Use linear scan for small bitmaps). This resolves #368.