Use a specialized varint + bitpacking scheme for DepGraph encoding

This commit is contained in:
Ben Kimock 2023-04-29 21:51:32 -04:00
parent bf1e3f31f9
commit 94fe18f84b
8 changed files with 358 additions and 46 deletions

View file

@ -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()
}