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

multithreaded version does not need locks while searching #13

Open
JonasIsensee opened this issue Jan 20, 2019 · 0 comments
Open

multithreaded version does not need locks while searching #13

JonasIsensee opened this issue Jan 20, 2019 · 0 comments

Comments

@JonasIsensee
Copy link
Member

At the moment there is a single search_layer function used
for both index creation and searching.
In multi-threaded searches this causes
some 10% of the runtime to be spent waiting due to the Mutex locks.

The locks are only needed during index creation and could be disabled for searches.

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