PGMax icon indicating copy to clipboard operation
PGMax copied to clipboard

Modify `vars_to_starts` representation

Open antoine-dedieu opened this issue 2 years ago • 0 comments

Creating the vars_to_starts as a dictionnary mapping variable to int is expensive in the case where we have a lot of variables.

Instead it could map a variable group to an array (in the case of a NDVariableArray) or a list (for a VariableDict)

antoine-dedieu avatar May 02 '22 17:05 antoine-dedieu