You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One could maybe add an array shrinking function inside the model#table method.
Alternatively, one could pass a Function<Integer, IntVar[]> to the model#table method,
in order to avoid any duplicate allocations.
I think there is room to reduce CT+ structure initialization when tuples' ranges are smaller than domains' range.
For instance:
CT will allocate
supports
array (of longs) of size 99_999, whereas smaller size would do the job.I'm not saying it is easy to do, but it could be useful.
Note that I agree that the domain could be reduced at the first place, but sometimes (when parsing instances for instance) this is quite complicated.
PS: same goes for "STR2+"
The text was updated successfully, but these errors were encountered: