Implement Stream::size_hint method on stream utilities
Open
enhancement
good first issue
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 339
- PR merge metrics
- No merged PRs in 30d
Description
Most of async-std's stream utilities were written before `Stream::size_hint` was released and do not implement `Stream::size_hint` method. This means that async-std's stream utilities may be a bit inefficient than other crates such as futures, tokio-stream, futures-lite, which provide similar utilities.
related: https://github.com/rust-lang/futures-rs/pull/1853, https://github.com/rust-lang/rust/pull/81797
Contributor guide
Assessment
This issue has not been assessed yet.