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 | 1343 | August 26, 2022 | |
| Modifying the fields of an immutable struct | 5 | 1364 | January 2, 2024 | |
| Saving data into array having struct data type | 5 | 1851 | August 8, 2020 | |
| What Julia type maps to a C type containing nested structs? | 2 | 1427 | June 6, 2017 | |
| Mutable field in immutable type | 7 | 3936 | December 22, 2019 |