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

New Base.axes for AbstractField #3801

Merged
merged 4 commits into from
Oct 1, 2024
Merged

New Base.axes for AbstractField #3801

merged 4 commits into from
Oct 1, 2024

Conversation

glwagner
Copy link
Member

@glwagner glwagner commented Sep 30, 2024

Resolves #3750

Also supercedes #3794 where some tests are failing, not sure why. But that PR goes a bit further to clean up conditional ops. I think we want that too but let's start with this.

cc @ali-ramadhan

@navidcy navidcy added the abstractions 🎨 Whatever that means label Sep 30, 2024
Copy link
Collaborator

@navidcy navidcy left a comment

Choose a reason for hiding this comment

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

lgtm!

@ali-ramadhan
Copy link
Member

Confirming that this PR also resolves #3750 based on the MWE there!

julia> @time minimum(u2)
  0.061013 seconds (659 allocations: 49.336 KiB)
0.0

julia> @time minimum(u2.data)
  0.010983 seconds (3 allocations: 1.562 KiB)
0.0

@glwagner glwagner changed the title Use same Base.axes for all AbstractField New Base.axes for AbstractField Sep 30, 2024
@navidcy navidcy added the performance 🏍️ So we can get the wrong answer even faster label Oct 1, 2024
@glwagner glwagner merged commit 3ea2545 into main Oct 1, 2024
46 checks passed
@glwagner glwagner deleted the glw/axes4all branch October 1, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abstractions 🎨 Whatever that means performance 🏍️ So we can get the wrong answer even faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reductions with FieldTimeSeries on an ImmersedBoundaryGrid are very slow
3 participants