You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BooleanBufferBuilder operates on the assumption that unset bits are zeroed, this is not always the case
To Reproduce
let b = MutableBuffer::from_iter([true, true, true, true]);
let mut builder = BooleanBufferBuilder::new_from_buffer(b, 2);
builder.advance(2);
let finished = builder.finish();
assert_eq!(finished.as_slice(), &[0b00000011])
let mut builder = BooleanBufferBuilder::new(10);
builder.append_n(5, true);
builder.resize(3);
builder.advance(2);
let finished = builder.finish();
assert_eq!(finished.as_slice(), &[0b00000111]);
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
BooleanBufferBuilder
operates on the assumption that unset bits are zeroed, this is not always the caseTo Reproduce
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: