4 ms·
When you quote things, it's customary to not modify the quote. And no, that's not what I wrote. Trees are an associative data structure. Hashmaps are a bette
by x0x0 12y ago
When you quote things, it's customary to not modify the quote.
And no, that's not what I wrote. Trees are an associative data structure. Hashmaps are a better associative data structure, except when you need the few capabilities trees have that hashmaps don't.
ps -- if you run that quote through fold -s -w 77, it won't be so wide...
- park0ur 12y agoWhoops, I didn't mean to apply quote formatting to that. I DID mean to take the same argument and swap for vectors, but DIDN'T mean to make it look like your words. My apologies. But, I maintain that trees have their uses. I would never use a hashmap to implement a priority queue, and i'd never use a tree to implement associative arrays!