Closed rafaqz closed 1 year ago
We could possibly try to merge if a ConcatDiskArray is passed to the ConcatDiskArray constructor?
This would be a nice optimization. So far in my YAXArrays code I was usually using the direct constructor passing an array of arrays. However, since it is a common pattern to use things like reduce(cat,array_of_diskarrays)
we should make sure to not have 1000 nested ConcatDiskArrays
.
I might leave the unwrapping ConcatDiskArray
part to another time, but I implemented writeblock!
and tested mixed chunk sizes
Ok, thanks a lot. The nested ConcatDIskArrays problem I can take care of as well. So feel free to merge and tag a new version.
This is half code modified from DiskArrayTools.jl
It adds a
ConcatDiskArray
wrapper, and acat
method that applies it.We could possibly try to merge if a
ConcatDiskArray
is passed to theConcatDiskArray
constructor?