4 ms·
A single threaded Tokio runtime still has a separate thread pool for heavy tasks. Maybe block_on? I can't remember where I read that tho. Edit: not block_on, b
by swsieber 3y ago
A single threaded Tokio runtime still has a separate thread pool for heavy tasks. Maybe block_on? I can't remember where I read that tho.
Edit: not block_on, but spawn_blocking. See https://www.reddit.com/r/rust/comments/16ebdi1/comment/jzy7fai/ https://www.reddit.com/r/rust/comments/16ebdi1/comment/jzy7f...