Re:Identifying Rust's collect:<Vec<_>>() memory leak footgun
by karmakaze on Friday January 19, 2024 @06:04PM
(#39062581)
Interesting that it considers >= 256 entries to be 'not small'. That would be accurate for larger structs, not so much if the element is a bool, int, pointer, etc.
[ Parent
| on HN ]
There are no comments on this comment yet.