Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn HNSW into Map and Set variants #19

Open
vadixidav opened this issue Jun 28, 2020 · 0 comments
Open

Turn HNSW into Map and Set variants #19

vadixidav opened this issue Jun 28, 2020 · 0 comments

Comments

@vadixidav
Copy link
Member

HNSW is more difficult to use than it should be. HNSW should be changed to have an HNSWMap and HNSWSet variant. The current behavior should be preserved in that features can be accessed by index and that the index should be returned on adding something to either type of HNSW. However, the HNSW should also additionally store an item in it. The set variant will simply set that item to (), inuring no overhead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant