Re:Making a Go program 70% faster with a one character change
by glandium on Tuesday November 15, 2022 @05:54AM
(#33607688)
Actually, you'll find that in Rust, Box::new(stuff) will too often put stuff on the stack before copying it in the newly allocated memory. For large enough stuff, that can be slower than the allocation.
[ Parent
| on HN ]
There are no comments on this comment yet.