2 ms·
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
by moron4hire 5y ago
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.
- dragonwriter 5y ago> 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.
- ThrowawayR2 5y agoSo who writes the libraries? It certainly isn't people who can't manipulate tree structures.