Skip to content

Commit eef0d27

Browse files
avoid @view which is slow for multi-file datasets
1 parent 6b7b60a commit eef0d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CatArrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function load!(CA::CatArray{T,N},B,idx...) where {T,N}
8080
for (array,(idx_global,idx_local)) in zip(CA.arrays,idx_global_local)
8181
if valid_local_idx(idx_local...)
8282
# get subset from subarray
83-
subset = @view array[idx_local...]
83+
subset = array[idx_local...]
8484
B[idx_global...] .= subset
8585
end
8686
end

0 commit comments

Comments
 (0)