You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Make Chunked Fill Array hold chunks
This moves the construction of regular chunks from the eachchunk call to the constructor of the Chunked FillArray. This enables to reuse the existing chunking pattern of actual data when constructing a ChunkedFillArray.
* Make the chunk type a typeparameter of ChunkedFillArray
Copy file name to clipboardExpand all lines: src/DiskArrayTools.jl
+22-10Lines changed: 22 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -378,16 +378,28 @@ function eachchunk(aconc::ConcatDiskArray)
378
378
end
379
379
380
380
"""
381
-
ChunkedFillArray(v::T, size, chunksize)
382
-
Construct a lazy fill array with a value `v` with the n-dimensional `size` which behaves as a chunked DiskArray with chunks of the size `chunksize`.
381
+
ChunkedFillArray(value::T, size, chunks)
382
+
Construct a lazy fill array with a value `value` with the n-dimensional `size` which behaves as a chunked DiskArray with a chunking structure of `chunks`.
0 commit comments