vec: fixed compressed, still slow par read, cli: made raw the default

This commit is contained in:
nym21
2025-06-12 16:31:54 +02:00
parent 54ea6cc53b
commit 37405384a2
7 changed files with 27 additions and 7 deletions

View File

@@ -104,7 +104,11 @@ where
#[inline]
fn stored_len(&self) -> usize {
self.mmap.load().len() / Self::SIZE_OF_T
self.stored_len_(&self.mmap.load())
}
#[inline]
fn stored_len_(&self, mmap: &Mmap) -> usize {
mmap.len() / Self::SIZE_OF_T
}
#[inline]