Skip to content

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

@lesquoyb

Description

@lesquoyb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    About GAMLThis issue concerns the GAML languageEnhancement 🤗This is a request for enhancement

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions