Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Size of Rust Futures.
I wish there was a Clippy lint for this (https://github.com/rust-lang/rust-clippy/issues/5263).
My current practice is to sprinkle `Box::pin` on code paths that are less common (fallbacks, error handling) or expensive anyway. This cuts down the inlined state considerably without actually causing that many allocations.
There are no comments on this comment yet.
I wish there was a Clippy lint for this (https://github.com/rust-lang/rust-clippy/issues/5263).
My current practice is to sprinkle `Box::pin` on code paths that are less common (fallbacks, error handling) or expensive anyway. This cuts down the inlined state considerably without actually causing that many allocations.