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

Update rayon #1541

Merged
merged 2 commits into from
Mar 9, 2023
Merged

Update rayon #1541

merged 2 commits into from
Mar 9, 2023

Conversation

emilk
Copy link
Member

@emilk emilk commented Mar 9, 2023

This updates us to rayon 1.7.0 which has a single-threaded fallback (rayon-rs/rayon#1019) making it work on the web.

This means that we can now start using rayon in our code base where it makes sense.

I also tested out the rayon-enabled jpeg decoder, but on my mac, on the objectron dataset, it was actually slower (15.5 ms -> 16.5 ms).

Luckily https://github.com/etemesi254/zune-jpeg is reportedly faster, so we'll put our hopes on that instead.

Checklist

emilk added 2 commits March 9, 2023 10:41
    Updating crates.io index
    Updating rayon v1.6.0 -> v1.7.0
    Updating rayon-core v1.10.1 -> v1.11.0
@emilk emilk added the 🧑‍💻 dev experience developer experience (excluding CI) label Mar 9, 2023
@teh-cmc teh-cmc merged commit 58cae4e into main Mar 9, 2023
@teh-cmc teh-cmc deleted the emilk/update-rayon branch March 9, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dev experience developer experience (excluding CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants