Skip to content

Commit ce62d55

Browse files
committed
refactor: use collect_bool in BitBuffer From<Vec<bool>> impl
Signed-off-by: Joe Isaacs <[email protected]>
1 parent bfd2bd4 commit ce62d55

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

vortex-buffer/src/bit/buf_mut.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,6 @@ impl Not for BitBufferMut {
541541

542542
impl From<&[bool]> for BitBufferMut {
543543
fn from(value: &[bool]) -> Self {
544-
// Use the optimized collect_bool to pack 64 booleans at a time
545544
BitBuffer::collect_bool(value.len(), |i| value[i]).into_mut()
546545
}
547546
}

0 commit comments

Comments
 (0)