News for hackers. Stuff that matters.
Re:Btrees are the new black by jjh42 on Wednesday April 02, 2014 @02:38PM (#7517922)
For insertions and lookup it is probably hard to find a situation (for large n hashes are asymptotically superior).

Trees provide some other nice properties such as maintaining an ordering (so it's fast to get the smallest argument or interate of the elements in numerical order) and always perform at the asymptotic time cost (a dynamic hash table occasionally takes O(n) when the table is resized so it might not be a good fit in a realtime situation)

There are no comments on this comment yet.