Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I mean you can store the nodes in an arena so you don't have to deal with the borrow checker getting upset with your non-tree ownership structure. That's the context. We weren't talking about arena use for speed/efficiency purposes. In that case you are right; it's much more awkward to use custom allocators in Rust.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: