Composite types are much higher performance but have no flexibility (you can't add new fields later). So which you choose depends on your use case.
--Tim On Monday, February 16, 2015 09:38:13 AM Martin Johansson wrote: > Yes, composite types could well be the answer! I'm still trying to find out > which choices would make the transition from Matlab easiest. This (old) > discussion <https://github.com/JuliaLang/julia/issues/1263>didn't seem to > recommend one over the other (of Dicts and composite types). > > Regards, m > > On Monday, February 16, 2015 at 4:30:31 PM UTC+1, Johan Sigfrids wrote: > > Could you not use a composite type for this? It would seem more Julian to > > me.