News for hackers. Stuff that matters.
Re:Fivefold Slower Compared to Go? Optimizing Rust's Protobu... by formerly_proven on Friday April 12, 2024 @07:22AM (#40011333)
I’m unfamiliar with all of the libraries used here, however, the solutions from the blog post struck me as quite odd. serde::Deserializer solves a similar problem and makes it quite straightforward and safe to borrow from the input, if possible. Obviously, the input needs to outlive the borrowed values.

There are no comments on this comment yet.