Skip to content

Minimal optimization for cap-async-std. #137

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

Merged
merged 1 commit into from
Aug 27, 2021
Merged

Conversation

sunfishcode
Copy link
Member

Use spawn_blocking to run important blocking tests off the main
thread.

@sunfishcode sunfishcode force-pushed the sunfishcode/async branch 22 times, most recently from 368bef5 to e099878 Compare January 15, 2021 19:24
@sunfishcode
Copy link
Member Author

This PR depends on async-rs/async-std#937 making it to a published async-std.

@sunfishcode sunfishcode force-pushed the main branch 2 times, most recently from 6853fdf to 21a5954 Compare January 27, 2021 15:42
@sunfishcode
Copy link
Member Author

Two functions to revisit here: DirEntry::metadata and DirEntry::file_type.

@sunfishcode sunfishcode force-pushed the main branch 4 times, most recently from 7f9c0a9 to 16a65b1 Compare February 4, 2021 06:25
@sunfishcode sunfishcode force-pushed the sunfishcode/async branch 6 times, most recently from 0802a1f to 70efc10 Compare February 18, 2021 20:26
@sunfishcode sunfishcode force-pushed the sunfishcode/async branch 4 times, most recently from 69c8678 to 492748c Compare June 14, 2021 20:43
@sunfishcode sunfishcode force-pushed the main branch 3 times, most recently from fc0ebc2 to dd73714 Compare June 24, 2021 06:19
@sunfishcode sunfishcode force-pushed the sunfishcode/async branch 3 times, most recently from 5eb0df5 to 5ec1285 Compare July 13, 2021 23:04
@sunfishcode sunfishcode force-pushed the main branch 4 times, most recently from 4a03710 to 6e53944 Compare August 20, 2021 23:46
Use `spawn_blocking` to run important blocking tests off the main
thread.
@sunfishcode sunfishcode marked this pull request as ready for review August 27, 2021 03:13
@sunfishcode
Copy link
Member Author

async-std 1.10 is now released, which includes async-rs/async-std#937, so this can land now!

@sunfishcode sunfishcode merged commit 59d0d4f into main Aug 27, 2021
@sunfishcode sunfishcode deleted the sunfishcode/async branch August 27, 2021 03:29
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.

1 participant