On Tue, Dec 19, 2017 at 12:34:03PM +0000, Koval, Julia wrote:
> >> Maybe [] operator could be used instead of a dynamic handling here.
> I had another solution in mind, with enums, which then addresses elements 
> using its index, please look the patch attached.

You can also have a look at the omp_clause_mask class in c-common.h, that is
also something that has been added to handle the case where we run out of
64-bits for a particular bitmask, wanted to keep using pretty much the same
interfaces and be able to handle it fast.  Using 2 enums for the two halves
and treating it accordingly is also an option.

I agree sbitmap is too heavy for this.

        Jakub

Reply via email to