Make TimeVaryingArray and TimeVaryingScalar immutable. This is with a view to make the full model config immutable, which makes it possible to safely cache computations inside the model without worrying that a user has modified the field of eg. TimeVaryingArray, which is undetectable from a higher-level without major overhead. #4582
Job | Run time |
---|---|
1s | |
2m 12s | |
3m 1s | |
2m 16s | |
2m 45s | |
2m 48s | |
2m 25s | |
2m 20s | |
2m 44s | |
20m 32s |