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

[gaml] add a parallel facet to the loop statement and a parallel parameter to container operators #397

Open
lesquoyb opened this issue Jan 9, 2025 · 0 comments
Labels
About GAML This issue concerns the GAML language 🤗 Enhancement This is a request for enhancement

Comments

@lesquoyb
Copy link
Contributor

lesquoyb commented Jan 9, 2025

Is your request related to a problem? Please describe.
In the same way that there's a parallel facet for the ask statement or the grid declaration, there could be one for the loop statement when it is not an until loop.
This could improve performances in many models.

Additionally, we already know that the container operators like collect, where etc. are more performant than going through loop statement, so maybe we can check to parallelize them too as there are parallel streams available in java.

Describe the improvement you'd like
Adding an option to run loops and container operators in parallel in gaml, add a mention to it in the optimizing models page

@lesquoyb lesquoyb added 🤗 Enhancement This is a request for enhancement About GAML This issue concerns the GAML language labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
About GAML This issue concerns the GAML language 🤗 Enhancement This is a request for enhancement
Projects
None yet
Development

No branches or pull requests

1 participant