| 8 | const HEADER_SIZE: usize = SIZE_OF_U64; |
| 9 | |
| 10 | pub struct DenseVectorList { |
| 11 | mmap: MmapMut, |
| 12 | used_space: usize, // Track the used space within the mmap beyond the header |
| 13 | pub path: PathBuf, |
| 14 | } |
| 15 | |
| 16 | impl DenseVectorList { |
| 17 | pub fn new(path: PathBuf, elements: u64) -> io::Result<Self> { |
nothing calls this directly
no outgoing calls
no test coverage detected