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
The documentation says somewhere that the Usearch-Index is threadsafe, would it be possible to make it Send+Sync?
For now I have to do this workaround:
I tried this with Rayon (index creation took 9 minutes instead of 96) and with Actix and it worked quite well with f32 in both.
I tested making Index conform to Send + Sync in a stashed fork and it also worked.
The workaround starts to not work as soon as more internal stuff comes to the surface like this:
Describe what you are looking for
The documentation says somewhere that the Usearch-Index is threadsafe, would it be possible to make it Send+Sync?
For now I have to do this workaround:
I tried this with Rayon (index creation took 9 minutes instead of 96) and with Actix and it worked quite well with f32 in both.
I tested making Index conform to Send + Sync in a stashed fork and it also worked.
The workaround starts to not work as soon as more internal stuff comes to the surface like this:
Which results in this:
PS: I tried to run OpenMP, however it looks like rust doesnt support OpenMP if im not mistaken
Can you contribute to the implementation?
Is your feature request specific to a certain interface?
Other bindings
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: