We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following set operations are what I can think of currently.
iter_ones set difference collect::<BitSet>() from an iterator of usize's
The text was updated successfully, but these errors were encountered:
Add IterOnes and IterZeros, per #83
IterOnes
IterZeros
c0b34a2
Implement FromIterator<T> for BitVec<_, T>, per #83
FromIterator<T>
BitVec<_, T>
d5e9961
The difference between two slices can be computed with the ^ or ^= operators. At present, these are shims over
^
^=
use bitvec::prelude::*; let a = bits![mut 0, 0, 1, 1]; let b = bits![0, 1, 0, 1]; for (mut a, b) in a.iter_mut().zip(b.iter().copied()) { *a ^= b; }
as I have not yet implemented specialization for batch comparison.
The FromIterator<T> implementation, as well as the .iter_ones() and .iter_zeros() methods, will be available in the next release.
.iter_ones()
.iter_zeros()
If you have any other requests, please feel free to reöpen this issue.
Sorry, something went wrong.
No branches or pull requests
The following set operations are what I can think of currently.
The text was updated successfully, but these errors were encountered: