Chunked reads beat an h5py process pool; unlimited writer B-trees; Blosc2; 599/697 conformance #16

Merged
osobh merged 48 commits from feat/p2b-scale into main 2026-09-26 17:42:16 +00:00
Showing only changes of commit 8295d01614 - Show all commits
+3 -1
View File
@@ -155,7 +155,9 @@ impl ChunkPlacer {
&mut long
};
for (o, &off) in chunk_offsets.iter_mut().zip(offsets) {
*o = off as usize;
// An offset past `usize` is past the dataset: the chunk writes
// nothing (a plain cast would wrap it into the output).
*o = usize::try_from(off).unwrap_or(usize::MAX);
}
// SAFETY: the caller's contract.
unsafe {