Tracking issue for removing AlignedBoxWithSlice usage where the alignment is not actually needed, identified during the file-centric flow audit (#899).
Discussion
Originating proposal and maintainer confirmation in #899:
Scope boundary vs. #907
#907 tracks replacing AlignedBoxWithSlice with diskann-quantization::alloc::Poly for cases that do require alignment (e.g. direct I/O sector-aligned buffers).
This issue tracks the complementary cleanup: callers that use AlignedBoxWithSlice but whose consumers (distance computation through diskann-vector SIMD, or scalar PQ table lookups) don't actually require alignment. These can be replaced with plain Vec / Matrix.
Related PRs
Tracking issue for removing
AlignedBoxWithSliceusage where the alignment is not actually needed, identified during the file-centric flow audit (#899).Discussion
Originating proposal and maintainer confirmation in #899:
diskann-providers#899 (comment)diskann-providers#899 (comment)Scope boundary vs. #907
#907 tracks replacing
AlignedBoxWithSlicewithdiskann-quantization::alloc::Polyfor cases that do require alignment (e.g. direct I/O sector-aligned buffers).This issue tracks the complementary cleanup: callers that use
AlignedBoxWithSlicebut whose consumers (distance computation throughdiskann-vectorSIMD, or scalar PQ table lookups) don't actually require alignment. These can be replaced with plainVec/Matrix.Related PRs
AlignedBoxWithSlicewith plainVec/Matrixwhere alignment is unused #955AlignedBoxWithSlicewithVecin PQScratch and disk fp vector caches #960