NamedTuple are great and seem to be more flexible than structure, which I am testing in my code.
The only downside is that NamedTuple are immutable and that to my understanding there is no option to make them mutable , is that correct?
NamedTuple are great and seem to be more flexible than structure, which I am testing in my code.
The only downside is that NamedTuple are immutable and that to my understanding there is no option to make them mutable , is that correct?
There was a recent discussion about that on Discourse:
https://discourse.julialang.org/t/alternative-to-mutable-named-tuple/38375
Thanks a good discussion which addresses nicely my questions.