Skip to content

Remove allocations in the spline_interpolation function#60

Merged
andrewwinters5000 merged 5 commits intomainfrom
remove-allocs
May 20, 2025
Merged

Remove allocations in the spline_interpolation function#60
andrewwinters5000 merged 5 commits intomainfrom
remove-allocs

Conversation

@andrewwinters5000
Copy link
Copy Markdown
Member

This modifies the four variants of the spline_interpolation function to use static arrays and avoid allocations. Once merged and released this will address the failing allocation test in TrixiShallowWater PR #102.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.53%. Comparing base (9205512) to head (1df5c64).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   96.48%   96.53%   +0.05%     
==========================================
  Files           9        9              
  Lines         483      491       +8     
==========================================
+ Hits          466      474       +8     
  Misses         17       17              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrewwinters5000 andrewwinters5000 requested a review from ranocha May 20, 2025 04:39
@andrewwinters5000 andrewwinters5000 merged commit 6823231 into main May 20, 2025
11 of 12 checks passed
@andrewwinters5000 andrewwinters5000 deleted the remove-allocs branch May 20, 2025 13:21
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.

3 participants