Skip to content

Commit eca6628

Browse files
authoredJan 28, 2022
Minor refactoring (quickwit-oss#1266)
1 parent 9679c5f commit eca6628

File tree

208 files changed

+2015
-2331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+2015
-2331
lines changed
 

‎bitpacker/src/bitpacker.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
use std::{convert::TryInto, io};
1+
use std::convert::TryInto;
2+
use std::io;
23

34
pub struct BitPacker {
45
mini_buffer: u64,

‎bitpacker/src/blocked_bitpacker.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
use super::bitpacker::BitPacker;
2+
use super::compute_num_bits;
13
use crate::{minmax, BitUnpacker};
24

3-
use super::{bitpacker::BitPacker, compute_num_bits};
4-
55
const BLOCK_SIZE: usize = 128;
66

77
/// `BlockedBitpacker` compresses data in blocks of
88
/// 128 elements, while keeping an index on it
9-
///
109
#[derive(Debug, Clone)]
1110
pub struct BlockedBitpacker {
1211
// bitpacked blocks

0 commit comments

Comments
 (0)
Please sign in to comment.