stretto
stretto copied to clipboard
`re-stretto`: Implement a lightweight `stretto` and optimize the current implementation.
This crate was developed when I started learning Rust.
At the time, I did not have a deep understanding about:
- The difference between Rust and Go, in sync Rust, the thread model is one-on-one, so it is more expensive than Go's goroutine
- The contention of
Mutex
cannot be ignored.