-
Notifications
You must be signed in to change notification settings - Fork 919
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
Web Async Rework #3082
Web Async Rework #3082
Conversation
Once smol-rs/async-channel#59 is merged, would you be able to replace this functionality with |
Only the I could look into gating this stuff behind |
eacf2a4
to
deab352
Compare
This is ready now, but I'm gonna let it simmer for a while. |
67aed46
to
d1e368c
Compare
d1e368c
to
a563b81
Compare
a563b81
to
41ebb38
Compare
I tried splitting up the commits in a way that makes sense to review for others but I also for my own sanity.
This basically doesn't use a channel anymore but a simple
AtomicUsize
to measure the amount of user events sent to appropriately wake up the event loop instead of letting the event loop restart for every user event. Also drops thestd::mpsc
channel which should improve the "performance" as well.I added a bunch of related improvements on top as well.
Follow-up to #3081.