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

Simplify 3-arg conv, remove unnecessary inbounds #610

Merged
merged 5 commits into from
Dec 13, 2024

Conversation

wheeheee
Copy link
Member

No description provided.

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.96%. Comparing base (51c17d6) to head (e8f87c9).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #610   +/-   ##
=======================================
  Coverage   97.96%   97.96%           
=======================================
  Files          19       19           
  Lines        3248     3248           
=======================================
  Hits         3182     3182           
  Misses         66       66           

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

CartesianIndices(A)
slightly faster on v1.10, about the same on v1.6
Copy link
Member

@martinholters martinholters left a comment

Choose a reason for hiding this comment

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

Nice to get rid of those @inbounds. I trust you to have done some benchmarking to confirm they are not needed.

src/dspbase.jl Outdated Show resolved Hide resolved
src/dspbase.jl Outdated Show resolved Hide resolved
@wheeheee
Copy link
Member Author

Yes, most of the blocks inbounds was applied to did not have functions with checkbounds / propagate_inbounds. I didn't see much performance difference when benchmarking.

Co-authored-by: Martin Holters <[email protected]>
@wheeheee wheeheee merged commit 8607be8 into JuliaDSP:master Dec 13, 2024
10 checks passed
@wheeheee wheeheee deleted the conv_tweaks branch December 13, 2024 10:29
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.

2 participants