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

rayon collect() preserves the original order #1

Open
claudiofsr opened this issue Jul 24, 2023 · 1 comment
Open

rayon collect() preserves the original order #1

claudiofsr opened this issue Jul 24, 2023 · 1 comment

Comments

@claudiofsr
Copy link

I see:

https://boydjohnson.dev/blog/concurrency-matrix-multiplication/

Note that rayon collect() preserves the original order. Thus, it is not necessary to use par_sort_by().

See https://dev.to/eblocha/parallel-matrix-multiplication-in-rust-39f6

Excuse me if I'm mistaken!

@boydjohnson
Copy link
Owner

@claudiofsr I have found that you are right. I'm not sure what I was thinking. I'll update the code and post.

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

2 participants