Skip to content

Avoid allocations in fmap#618

Merged
mkitti merged 1 commit into
JuliaMath:masterfrom
fhagemann:allocations
May 7, 2025
Merged

Avoid allocations in fmap#618
mkitti merged 1 commit into
JuliaMath:masterfrom
fhagemann:allocations

Conversation

@fhagemann

@fhagemann fhagemann commented Apr 22, 2025

Copy link
Copy Markdown
Contributor

Should fix #610 (the exact error reported therein), but there might also be some other functions that might have introduced allocations going from julia-1.10 to julia-1.11

@codecov

codecov Bot commented Apr 22, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.73%. Comparing base (fab0496) to head (dd288a8).
Report is 28 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #618      +/-   ##
==========================================
+ Coverage   87.07%   87.73%   +0.65%     
==========================================
  Files          28       29       +1     
  Lines        1888     1908      +20     
==========================================
+ Hits         1644     1674      +30     
+ Misses        244      234      -10     

☔ 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.

@mkitti

mkitti commented Apr 22, 2025

Copy link
Copy Markdown
Collaborator

Thank you. This looks pretty straightforward.

I'm currently in the process of trying to straighten out CI, but I have this in my queue to review.

@fhagemann

Copy link
Copy Markdown
Contributor Author

I mean full credit goes to @N5N3 for coming up with this solution!

@mkitti mkitti merged commit 0494222 into JuliaMath:master May 7, 2025
2 checks passed
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.

Interpolations.gradient is not allocation free under Julia v1.11

2 participants