#Tree struct

1 messages · Page 1 of 1 (latest)

stoic needle
vestal lance
#

Cool!
I am a bit concerned that the get functions are all O(n) though, since that's really slow
Usually trees don't use keys, just a value and a list of children for each node. If you need key-value access to your data, you are probably better off just using structs for that instead

stoic needle
#

Yes for sure as time will come I will add other views that will work more correctly and faster. It's just that when I was making an order, I needed something like this