We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 515b831 + 075db6a commit 30fc3b9Copy full SHA for 30fc3b9
src/data_array.jl
@@ -162,3 +162,8 @@ unpack(x::DEDataArray) = x.x
162
@inline unpack_args(args::Tuple) = (unpack(args[1]), unpack_args(Base.tail(args))...)
163
unpack_args(args::Tuple{Any}) = (unpack(args[1]),)
164
unpack_args(::Any, args::Tuple{}) = ()
165
+
166
+# Broadcasting checks for aliasing with Base.dataids but the fallback
167
+# for AbstractArrays is very slow. Instead, we just call dataids on the
168
+# wrapped buffer
169
+Base.dataids(A::DEDataArray) = Base.dataids(A.x)
0 commit comments