News for hackers. Stuff that matters.
Re:Identifying Rust's collect:<Vec<_>>() memory leak footgun by Thaxll on Thursday January 18, 2024 @11:31PM (#39051591)
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.