Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Thaxll
on Jan 19, 2024
|
parent
|
context
|
favorite
| on:
Identifying Rust's collect:<Vec<_>>() memory leak ...
Indeed:
https://go.googlesource.com/go/+/master/src/runtime/slice.go...
karmakaze
on Jan 19, 2024
[–]
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.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: