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

simulation records returned as a json object #5

Merged
merged 5 commits into from
Apr 30, 2024
Merged

simulation records returned as a json object #5

merged 5 commits into from
Apr 30, 2024

Conversation

msabvid
Copy link
Member

@msabvid msabvid commented Apr 24, 2024

No description provided.

@msabvid msabvid requested a review from zombie-einstein April 29, 2024 19:08
Copy link
Collaborator

@zombie-einstein zombie-einstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. How does rayon control resources it uses for execution? Is there a way to control the number of threads/processes it uses?

@msabvid
Copy link
Member Author

msabvid commented Apr 30, 2024

LGTM. How does rayon control resources it uses for execution? Is there a way to control the number of threads/processes it uses?

https://github.com/rayon-rs/rayon/blob/main/FAQ.md

"Rayon uses the same number of threads as the number of CPUs available.". But it can be customised as in the example in https://docs.rs/rayon/latest/rayon/struct.ThreadPoolBuilder.html#

@msabvid msabvid merged commit a79be53 into main Apr 30, 2024
1 check passed
@msabvid msabvid deleted the update branch April 30, 2024 11:01
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

Successfully merging this pull request may close these issues.

2 participants