On Mon, 26 Jun 2023 at 12:55, Ranier Vilela <ranier...@gmail.com> wrote: > Have you seen bms_compare? > For some reason someone thought it would be better to loop backward the array.
That's nothing to do with efficiency. It's related to behaviour. Have a look at the function's header comment, it's trying to find the set with the highest value member. It wouldn't make much sense to start at the lowest-order words for that. David