Feature Request: Make datastructures as Interface
guenhter opened this issue · 0 comments
guenhter commented
Currently, the data structures themself (Map, List) are designed as structs.
Do you think in a future major release it would be possible to change them to interfaces. This would open up the door for different implementations of the structures.
This would be very helpful to define different implementations with their own strengths, like a merkle tree implementation for write heavy scenarios, or an implementation which is almost always just used as append only. We work in a embedded environment and if such implementations would exists, we could choose for every location where we use lists, which implementation would give the best performance.
What do you think?