Skip to content

Commit

Permalink
use shuffle when compressing datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-kats committed Mar 11, 2024
1 parent aee5aab commit 84e2e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdf5_io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ function write_impl_array(
if length(chunksize) == 0
chunksize = Tuple(100 for _ in 1:ndims(data))
end
d = create_dataset(parent, name, dtype, dims, chunk=chunksize, deflate=compress)
d = create_dataset(parent, name, dtype, dims, chunk=chunksize, shuffle=true, deflate=compress)
else
d = create_dataset(parent, name, dtype, dims)
end
Expand Down

0 comments on commit 84e2e62

Please sign in to comment.