Skip to content

Commit 5e0610b

Browse files
authored
Use new rechunk implementation by default (#741)
1 parent 6d7d3bc commit 5e0610b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cubed/core/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def compute(
170170
return result[0]
171171

172172
def rechunk(
173-
self: T_ChunkedArray, chunks, *, min_mem=None, use_new_impl=False
173+
self: T_ChunkedArray, chunks, *, min_mem=None, use_new_impl=True
174174
) -> T_ChunkedArray:
175175
"""Change the chunking of this array without changing its shape or data.
176176

cubed/core/ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def wrap(*a, block_id=None, **kw):
10361036
)
10371037

10381038

1039-
def rechunk(x, chunks, *, target_store=None, min_mem=None, use_new_impl=False):
1039+
def rechunk(x, chunks, *, target_store=None, min_mem=None, use_new_impl=True):
10401040
"""Change the chunking of an array without changing its shape or data.
10411041
10421042
Parameters

0 commit comments

Comments
 (0)