Skip to content

Improve performance of horizontal loop filtering #151

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 2 commits into from
Jul 14, 2025

Conversation

tristanphease
Copy link
Contributor

Tried to implement the recommended changes in #136 by splitting out the vertical and horizontal loop filters, not totally sure what else I should be doing but these changes seem to help a bit from the benchmarks I added.
Improvements ranged from ~5-40% from before to after, the better improvements were on the horizontal filters (which makes sense).
Also cleaned up the comments a little, wondering if there's anything more we could do to improve loop_filter::should_filter

@fintelia fintelia merged commit 64e0bd6 into image-rs:main Jul 14, 2025
7 checks passed
@fintelia
Copy link
Contributor

Thanks!

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