Re:Identifying Rust's collect:<Vec<_>>() memory leak footgun
by sapiogram on Thursday January 18, 2024 @02:53PM
(#39046736)
Or alternatively, the vector was created with `Vec::with_capacity()` or `ExactSizeIterator::collect()`, and had the correct capacity all along.
[ Parent
| on HN ]
There are no comments on this comment yet.