compio-rs / compio

A thread-per-core Rust runtime with IOCP/io_uring/polling.
MIT License
420 stars 37 forks source link

refactor(dispatcher): reduces alloc and API change #255

Closed George-Miao closed 5 months ago

George-Miao commented 5 months ago

This PR reduces allocation in the process of dispatching, and adds ability to recover the closure passed in by the user.