Skip to content

Draft: Force copy in to_xarray

Martin Lange requested to merge copy-if-required into test-outputs-copy

Copies if not already done by units conversion. Checked by np.may_share_memory().

On top of !217 (merged) (discussion there).

Has quite some runtime implications.

to_xarray

to_xarray before:

bench-data-tools_old.svg

to_xarray after:

bench-data-tools.svg

to_xarray without memory check:

bench-data-tools.svg

Push/pull

Push/pull before:

bench-sdk-io_old.svg

Push/pull after:

bench-sdk-io.svg

Push/pull without memory check:

bench-sdk-io.svg

Edited by Martin Lange

Merge request reports