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

Remove bounds checks from hot loop in downsampled #2824

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

shssoichiro
Copy link
Collaborator

Removing these bounds checks reduced the run time of this function
by 60%, and resulted in a 0-2% overall encoding time improvement
depending on speed level (more improvement at faster speed levels).

Removing these bounds checks reduced the run time of this function
by 60%, and resulted in a 0-2% overall encoding time improvement
depending on speed level (more improvement at faster speed levels).
Copy link
Collaborator

@lu-zero lu-zero left a comment

Choose a reason for hiding this comment

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

It is fine for me.

@shssoichiro shssoichiro merged commit d010e20 into xiph:master Oct 6, 2021
@shssoichiro shssoichiro deleted the downsample-speed branch October 6, 2021 13:11
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