You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[0.6] [MOD-10559] Decouple the shrinking and growing logic of large containers in Flat and HNSW (#783)
Enhance BruteForce index tests for resizing and alignment
- Refactor `resize_and_align_index` tests in both `test_bruteforce.cpp` and `test_bruteforce_multi.cpp` to improve clarity and maintainability.
- Introduce helper functions to verify index size and capacity, reducing code duplication.
- Add comprehensive checks for index size, capacity, and label counts during vector addition and deletion.
- Implement tests to ensure no oscillation in index size and capacity during repeated add/delete cycles.
- Address edge cases for initial capacity and resizing behavior, ensuring proper alignment with block sizes.
0 commit comments