Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bitmask array #246

Merged
merged 3 commits into from
May 31, 2022
Merged

Add bitmask array #246

merged 3 commits into from
May 31, 2022

Conversation

calebzulawski
Copy link
Member

A follow up on the somewhat problematic feature from #239 (based on that branch).

workingjubilee added a commit that referenced this pull request Feb 26, 2022
Another approach that fixes #223, as an alternative to #238.

This adds the `ToBitMask` trait, which is implemented on a vector for each bitmask type it supports.  This includes all unsigned integers with enough bits to contain it.  The byte array variant has been separated out for now into #246 and still requires `generic_const_exprs`, but the integer variants no longer require it and can make it to nightly.
@workingjubilee workingjubilee reopened this Mar 1, 2022
@workingjubilee
Copy link
Member

Aaaand my condolences.

@calebzulawski
Copy link
Member Author

Ok, the problem was just not gating enough on the generic_const_exprs feature, should be fine now I think.

Copy link
Member

@programmerjake programmerjake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@calebzulawski calebzulawski merged commit 5e32004 into master May 31, 2022
@calebzulawski calebzulawski deleted the feature/bitmask_array branch October 17, 2022 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants