Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Make datastructures as Interface #20

Open
guenhter opened this issue May 7, 2021 · 0 comments
Open

Feature Request: Make datastructures as Interface #20

guenhter opened this issue May 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@guenhter
Copy link

guenhter commented May 7, 2021

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?

@benbjohnson benbjohnson added the enhancement New feature or request label Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants