Improve `cf.Field.__getitem__` performance by not re-calculating axis cyclicity by davidhassell · Pull Request #745 · NCAS-CMS/cf-python

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@davidhassell

Copy link Copy Markdown

Collaborator

Fixes #744

@davidhassell davidhassell added the performance

Relating to speed and memory performance

label

Mar 22, 2024
Copy link Copy Markdown

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.

All good, and well-motivated. I've raised some minor comments but please merge once you've considered those.

davidhassell and others added 2 commits

March 23, 2024 18:50
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>

@davidhassell davidhassell merged commit c02a935 into NCAS-CMS:main

Mar 23, 2024

@davidhassell davidhassell deleted the getitem-cyclic branch

March 23, 2024 19:11

@davidhassell davidhassell added this to the 3.16.2 milestone

Apr 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sadielbartholomew sadielbartholomew sadielbartholomew approved these changes

Assignees

No one assigned

Labels

performance

Relating to speed and memory performance

Projects

None yet

Milestone

3.16.2

Development

Successfully merging this pull request may close these issues.

Improve cf.Field.__getitem__ performance by not re-calculating axis cyclicity

2 participants

@davidhassell @sadielbartholomew