8478072b7868b54515fcd66c8147ba3bf1b00984
Replaces the hardcoded BLOCK_SIZE constant with a configurable block_bits parameter, enabling variable index granularity to balance index size and sequential scan cost. Both the reader and writer now store block_bits and a precomputed mask for branchless offset arithmetic, while the index file format is upgraded to UIX3 to persist the configuration. Comprehensive unit tests verify serialization, chunk offset indexing, random access consistency, and kmer count accuracy across various block sizes.
Description
Languages
Rust
93.1%
HTML
3.8%
TeX
1.5%
Python
0.7%
Shell
0.6%
Other
0.2%