[erlang-questions] data sharing is outside the semantics of Erlang, but it sure is useful
Thu Sep 17 22:07:38 CEST 2009
> In Wings3D (which is an application that depends heavily on sharing),
> I use a gb_tree to keep track of values that I want to share.
> I enter each term as both the key and the value and then I just do
> gb_trees:get/2 to retrieve the shared value.
That is an excellent idea! I was trying to hard to use gb_sets here :)
More information about the erlang-questions