Use a specialized varint + bitpacking scheme for DepGraph encoding
This commit is contained in:
parent
bf1e3f31f9
commit
94fe18f84b
8 changed files with 358 additions and 46 deletions
|
@ -353,7 +353,7 @@ impl<'a> MemDecoder<'a> {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
fn read_array<const N: usize>(&mut self) -> [u8; N] {
|
||||
pub fn read_array<const N: usize>(&mut self) -> [u8; N] {
|
||||
self.read_raw_bytes(N).try_into().unwrap()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue