Closed
Description
Currently, LocalExecutor
wraps Executor
and uses Executor
's State
, which is designed to support multithreading and has the overhead of Mutex, Arc, ConcurrentQueue, and so on. It would be nice if there was a version of LocalExecutor
that did not make this assumption and didn't have to pay for these structures in a strictly single-threaded context. Would this be possible to do now that rust-lang/rust#95985 is live in 1.68?
Metadata
Metadata
Assignees
Labels
No labels