Skip to content

Trim no expand - #3950

Closed
hmaarrfk wants to merge 7 commits into
dask:masterfrom
hmaarrfk:trim_no_expand
Closed

hmaarrfk wants to merge 7 commits into
dask:masterfrom
hmaarrfk:trim_no_expand

Conversation

@hmaarrfk

@hmaarrfk hmaarrfk commented Sep 5, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #3947

Pushes the trimming logic for the boundary conditions into chunk.trim allowing trim to be performed in an efficient manner even in the case where the boundary is 'none' (string 'none')

It should give more optimal performance from trim in the case where the boundary condition is string 'none' as it avoids calls to concatenate.

  • Tests added / passed
  • Passes flake8 dask

@hmaarrfk hmaarrfk changed the title WIP Trim no expand Trim no expand Sep 5, 2018
@hmaarrfk

hmaarrfk commented Sep 5, 2018

Copy link
Copy Markdown
Contributor Author

You might as well deprecate add_dummy_padding. But that is an API decision.

@hmaarrfk

hmaarrfk commented Sep 5, 2018

Copy link
Copy Markdown
Contributor Author

I'm not sure I like this implementation. It really clutters the chunk.trim function.

That chunk.trim function should not have to be aware of the higher level functionality in overlap

@hmaarrfk

hmaarrfk commented Sep 8, 2018

Copy link
Copy Markdown
Contributor Author

Closed in favour of #3964

@hmaarrfk hmaarrfk closed this Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant