开发者

How can I use gb_trees efficiently?

开发者 https://www.devze.com 2023-03-23 23:16 出处:网络
I am trying to use gb_trees to represent a data hierarchy. I am interested in using them because of the key_value property, and at the same time display hierarchy. I could use a simple example of ho开

I am trying to use gb_trees to represent a data hierarchy. I am interested in using them because of the key_value property, and at the same time display hierarchy. I could use a simple example of ho开发者_运维问答w to manipulate them...


You can find a very good explanation on erlang data structures here: http://learnyousomeerlang.com/a-short-visit-to-common-data-structures

The above article has a benchmark of different data structures, including gb_trees: http://learnyousomeerlang.com/static/erlang/keyval_benchmark.erl

0

精彩评论

暂无评论...
验证码 换一张
取 消