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

Replace tforeach with @spawn_for_chunks #2716

Merged
merged 1 commit into from
Apr 13, 2021
Merged

Replace tforeach with @spawn_for_chunks #2716

merged 1 commit into from
Apr 13, 2021

Conversation

nalimilan
Copy link
Member

It allows keeping the syntax even closer to a normal loop,
and it avoids duplicating functionality. Also simplify @inbounds
uses since it work when put in front of @spawn_for_chunks.

I've checked that performance is the same.

It allows keeping the syntax even closer to a normal loop,
and it avoids duplicating functionality. Also simplify `@inbounds`
uses since it work when put in front of `@spawn_for_chunks`.
@bkamins bkamins added this to the 1.0 milestone Apr 12, 2021
@bkamins
Copy link
Member

bkamins commented Apr 12, 2021

Looks good. I am OK to merge this when the CI passes. After you merge this PR and #2709 is merged I will generate precompile statements.

@nalimilan nalimilan merged commit abb5f76 into main Apr 13, 2021
@nalimilan nalimilan deleted the nl/tforeach branch April 13, 2021 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants