-
Notifications
You must be signed in to change notification settings - Fork 60
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
Higher parity with std's Vec
#95
Comments
we are missing some important stuff such as 'from_raw_parts' |
We cannot implement |
Consider also adding |
How would interface for impl<B: BitBlock> BitVec<B> {
// `num_of_bits` = nbits
// `length` = number of Bs behing `ptr`
fn from_raw_parts(ptr: *mut B, num_of_bits: usize, length: usize, capacity: usize) -> Self;
fn to_raw_parts(self) -> (*mut B, usize, usize, usize);
} Though the wording may be a bit confusing (someone may mix up Also, do we really want to have |
I think using |
ferrilab's bitvec is probably a drop in replacement for Vec
Roadmap
from_raw_parts
to_raw_parts
drain
insert
(Insert & insert many #92 )push_within_capacity
The text was updated successfully, but these errors were encountered: