[erlang-questions] gb_trees:fold?

James Hague james.hague@REDACTED
Mon May 24 17:26:50 CEST 2010


>It's an omission, but not intentional. Feel free to contribute.

Good to know!

It's trivial to write a version that uses "iterator" and "next," but that's
not taking advantage of internal knowledge of gb_trees to avoid unnecessary
allocations. Hmmm...gb_sets:fold looks simple enough to use as a model.


More information about the erlang-questions mailing list