Re:Ask HN: What are some cool but obscure data structures yo...
by loxias on Friday July 22, 2022 @03:10AM
(#32189394)
I want to hear more, esp about the distributed applications, do you have any useful links, or can I buy you an "e coffee" to pick your brain for a few minutes?
Re:Ask HN: What are some cool but obscure data structures yo...
by FridgeSeal on Friday July 22, 2022 @08:48AM
(#32191336)
> Also because they divide _space_ not the _data_ they are very amenable to multi-threaded and distributed algorithms.
Ha, I was thinking about this idea the other day and couldn’t figure out a good way to search for anything already written on the topic. I suspect there’s quite a lot of ground to be gained in the area.
Today; however, a lot of people have datasets on the order of 2^16 or 2^32 keys they need to maintain. And efficient bitwise operations (on upto 512 bits) are the norm. Y-fast tries are faster than b-trees or other datastructures. Also because they divide _space_ not the _data_ they are very amenable to multi-threaded and distributed algorithms. For example the hash-tables in a y-fast trie can actually be a rendezvous hash pointing to a database node. Once in that node you can hash on cores again to get to a local process for example.