Skip to content

How to control how rayon par_iter splits work? #1134

Answered by adamreichold
VorpalBlade asked this question in Q&A
Discussion options

You must be logged in to vote

This would be a quick workaround, but it sounds like you do not really benefit from the work done by ParallelIterator do as much as sequential as possible while keeping all cores occupied since every single work item is sufficiently large in your case. Hence maybe just using par_bridge would immediately yield the maximum granularity best suited to this use case?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@VorpalBlade
Comment options

@adamreichold
Comment options

@VorpalBlade
Comment options

Answer selected by VorpalBlade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants