Re:Julia 1.6: what has changed since Julia 1.0?
by Sukera on Sunday February 14, 2021 @02:10PM
(#26135164)
Note that I didn't suggest replacing structs with NamedTuples entirely - only during prototyping, while you're figuring out what you want your struct to look like. Structs most definitely will be faster.
[ Parent
| on HN ]
Re:Julia 1.6: what has changed since Julia 1.0?
by saiojd on Sunday February 14, 2021 @06:02PM
(#26137129)
I mean, I could, it's just that its pretty hard to know in advance which structs I will have to modify... Most of the time I only need to do minor edits like add 1 field. By that point I need to recompile anyway if I am to switch to NamedTuples...
Re:Julia 1.6: what has changed since Julia 1.0?
by oxinabox on Sunday February 14, 2021 @02:31PM
(#26135403)
> Structs most definitely will be faster.
I am not 100% sure this is true.
Structs will definately look cleaner in the code. Not sure they will be faster though.