We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddd2fb6 commit 359273eCopy full SHA for 359273e
src/MArray.jl
@@ -97,10 +97,8 @@ end
97
# This is inherently slow because we've got to rebuild a new Tuple to
98
# reassign to data.v.
99
#
100
- # However it seems not possible to make fast without having some kind
101
- # of mutable pseudo-container which is inlined as a part of the parent
102
- # struct such that you can't access it separately. (A mutable
103
- # FieldArray achieves this, but can't be parameterized on the size.)
+ # However it seems not possible to make fast, at least in julia 1.4
+ # TODO: Revisit if https://github.com/JuliaLang/julia/pull/34126 is merged
104
@inbounds v.data = setindex(v.data, val, i)
105
end
106
0 commit comments