Skip to content

Cut allocations in padindex #277

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

Merged
merged 9 commits into from
May 6, 2025
Merged

Conversation

BioTurboNick
Copy link
Contributor

padindex results in a large number of allocations due to multiple array creations and concatenations. This PR only creates a single array and values are copied into it.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.86%. Comparing base (e92b73d) to head (f77d306).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #277      +/-   ##
==========================================
+ Coverage   91.81%   91.86%   +0.04%     
==========================================
  Files          12       12              
  Lines        1662     1672      +10     
==========================================
+ Hits         1526     1536      +10     
  Misses        136      136              

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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@BioTurboNick
Copy link
Contributor Author

I believe the test failure is unrelated?

@ViralBShah
Copy link
Member

Should we merge? Do you have merge rights? If not, I can add you to help here.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@BioTurboNick
Copy link
Contributor Author

Hi, I don't have merge rights currently, so that would be nice.

@ViralBShah
Copy link
Member

Sent invitation.

@BioTurboNick
Copy link
Contributor Author

I will merge at the end of the week if I don't hear an objection. I can also bump the version if it's otherwise ready for a patch release.

@ViralBShah
Copy link
Member

I just made a release yesterday - so this should be straightforward to merge and make a new release.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
BioTurboNick Nicholas Bauer
@BioTurboNick BioTurboNick merged commit 01e99cd into JuliaImages:master May 6, 2025
9 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.

None yet

2 participants