onflow / atree

Atree provides scalable arrays and scalable ordered maps.
https://onflow.org
Apache License 2.0
39 stars 16 forks source link

Evaluate adding support for atree.OrderedSet #301

Open fxamacker opened 1 year ago

fxamacker commented 1 year ago

Issue To Be Solved

Maybe Atree should provide an OrderedSet.

See Cadence PR https://github.com/onflow/cadence/pull/2461

Suggested Solution

Evaluate adding atree.OrderedSet.

One approach is to provide a wrapper around existing atree.OrderedMap in order to reuse existing code. Also consider other approaches depending on priorities for qualities, tradeoffs, and other considerations.