perf: compute HNSW level counts after build#5590
Conversation
Code ReviewSummary: This PR optimizes HNSW index building by removing atomic operations from the hot path. Instead of incrementing level counts atomically during each parallel insertion, the counts are computed once after the build completes. Assessment: LGTM ✅ The change is correct and the optimization is sound:
No issues found. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
No description provided.