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

Improve cf.Field.collapse performance by lazily computing reduced axis coordinates #742

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

davidhassell
Copy link
Collaborator

Fixes #741

@davidhassell davidhassell added enhancement New feature or request performance Relating to speed and memory performance labels Mar 20, 2024
@davidhassell davidhassell added this to the Next release milestone Mar 20, 2024
Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems logically sound and motivated. I have ran test_collapse (as well as the full test suite) both on this branch and on main and there is a significant speed improvement in each case, though I appreciate the main gains will be for more memory-intensive collapses.

All good, please merge.

@davidhassell davidhassell merged commit 5fed753 into NCAS-CMS:main Mar 21, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Relating to speed and memory performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve cf.Field.collapse performance by lazily computing reduced axis coordinates
2 participants