-
Notifications
You must be signed in to change notification settings - Fork 48
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
Support rayon parallel iterators #14
Comments
I'm happy to answer rayon questions on this. |
@cuviper Since you're offering, one thing I was actually wondering was whether we can somehow take advantage of the fact that the map supports fully concurrent access. Since non-concurrent maps like |
I suspect maybe the answer has to do with some of the traits in |
Concurrent Parallel iterators are a bit harder -- you need a strategy for splitting the map into separate "slices"/"views" of some sort. The hashbrown implementation should be a good reference if you look at how they use |
Ah, I see, |
I would like to give this a try. |
All yours! |
I need some help. Whats the best way to split a Table into two halves? |
The best way is probably to just split the list of bins in two: the "high" bins and the "low" bins. |
I have no idea how to approach this. I think it's better if I let someone else do it. |
This was a straightforward step towards jonhoo#14
We should implement
rayon
parallel iterators. The notes and code initer/plumbing
may be helpful, and thehashbrown
implementation too.The text was updated successfully, but these errors were encountered: