On Wed, Sep 19, 2018 at 5:06 PM, Huw Davies huw@codeweavers.com wrote:
I dislike having the calculation split up like this.
Further, I think we can insist that LB_ARRAY_GRANULARITY is a power of two, (perhaps add a comment to that effect above its #define) which should simplify things a bit.
Huw.
Yeah, if it's a power of 2 I can use a bitwise AND operator to simplify it. I'll do that and add a comment.