Skip to content

Avoid double-advancing HNSW visited tables - #5596

Open
lyang24 wants to merge 1 commit into
facebookresearch:mainfrom
lyang24:perf/hnsw-visited-generation
Open

Avoid double-advancing HNSW visited tables#5596
lyang24 wants to merge 1 commit into
facebookresearch:mainfrom
lyang24:perf/hnsw-visited-generation

Conversation

@lyang24

@lyang24 lyang24 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The outer HNSW search loop advanced the reusable visited table after every query, even though HNSW::search() already advances it internally.

@meta-cla meta-cla Bot added the CLA Signed label Sep 7, 2026
@lyang24
lyang24 force-pushed the perf/hnsw-visited-generation branch from 6a6ffc5 to 0763ccf Compare September 7, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant