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

Use rayon when serializing glyphs #150

Merged
merged 1 commit into from
Aug 4, 2021
Merged

Use rayon when serializing glyphs #150

merged 1 commit into from
Aug 4, 2021

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Jul 29, 2021

This looks like a modest (~30%?) win in serialization speed.

@madig
Copy link
Collaborator

madig commented Jul 29, 2021

We didn't do that before? D'oh! Maybe this helps with write speed on Windows because file handles are getting closed in multiple threads.

Base automatically changed from improve-load-save to master July 29, 2021 22:13
@github-actions
Copy link

🗜 Bloat check ⚖️

Comparing 3fbd377 against 3a8b895

target old size new size difference
target/release/examples/load_save 1.75 MB 1.75 MB 128 Bytes (0.01%)
target/debug/examples/load_save 8.12 MB 8.13 MB 1.77 KB (0.02%)

@cmyr
Copy link
Member Author

cmyr commented Jul 29, 2021

@madig yea, I guess it was an oversight? I also assumed we were doing it, but we weren't. In any case, curious to see your results on windows.

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