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

You usually have a structure that is already tree-like and need to write custom code to walk over it. If you're taking a tree-like thing and first extracting it to another tree structure just to do basic tree operations, then you're already performing tree-traversal and just wasting a lot of time, disk, CPU, and memory just to bundle every person-under-the-sun's tree structure needs into one place.


> you're taking a tree-like thing and first extracting it to another tree structure just to do basic tree operations,

Why would you do that? The whole point of libraries of generic operations is that you can apply them to thing you have without copying.


So who writes the libraries? It certainly isn't people who can't manipulate tree structures.




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

Search: