Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim no expand #3950

Closed
wants to merge 7 commits into from
Closed

Trim no expand #3950

wants to merge 7 commits into from

Conversation

hmaarrfk
Copy link
Contributor

@hmaarrfk hmaarrfk commented Sep 5, 2018

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
Copy link
Contributor Author

hmaarrfk commented Sep 5, 2018

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

@hmaarrfk
Copy link
Contributor Author

hmaarrfk commented Sep 5, 2018

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
Copy link
Contributor Author

hmaarrfk commented Sep 8, 2018

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.

None yet

1 participant