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

Faster color conversions #157

Merged
merged 4 commits into from Jun 27, 2020

Conversation

Shnatsel
Copy link
Contributor

Speeds up end-to-end decoding by 5% in single-threaded mode. Considerably less than that in multi-threaded mode which is bottlenecked by #155 instead.

Another similar improvement will be possible once the float-to-int conversions defined as saturating will actually reach stable channel (rust-lang/rust#71269) and the crate's MSVR reaches this version.

@HeroicKatora HeroicKatora merged commit e999d78 into image-rs:master Jun 27, 2020
@Shnatsel Shnatsel deleted the faster-color-conversions branch August 15, 2020 11:41
wartmanm pushed a commit to wartmanm/jpeg-decoder that referenced this pull request Oct 4, 2021
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