Skip to content

Faster color conversions #157

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Jun 27, 2020
Merged

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.

@197g 197g 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants