Also, see this previous post Mutable field in immutable type and this comment on Immutable vs Type: reassignment via arrays and performance - #10 by jameson.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Trying to reference a struct field into an array | 7 | 1361 | August 26, 2022 | |
| Modifying the fields of an immutable struct | 5 | 1387 | January 2, 2024 | |
| Saving data into array having struct data type | 5 | 1854 | August 8, 2020 | |
| What Julia type maps to a C type containing nested structs? | 2 | 1429 | June 6, 2017 | |
| Mutable field in immutable type | 7 | 3937 | December 22, 2019 |