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

Replace red-black trees with simple maps in ethdb.mutation #128

Closed
AlexeyAkhunov opened this issue Oct 20, 2019 · 0 comments · Fixed by #184
Closed

Replace red-black trees with simple maps in ethdb.mutation #128

AlexeyAkhunov opened this issue Oct 20, 2019 · 0 comments · Fixed by #184
Assignees

Comments

@AlexeyAkhunov
Copy link
Contributor

Originally, red-black trees were put there to support iteration (Walk function) over the mutation. However, this operation has been removed, and iterations are now only supported over the committed databases (and not mutation). There is no good reason to keep using red black trees instead of simple maps anymore

@AlexeyAkhunov AlexeyAkhunov changed the title Replace reb-black trees with simple maps in ethdb.mutation Replace red-black trees with simple maps in ethdb.mutation Oct 20, 2019
@JekaMas JekaMas self-assigned this Nov 15, 2019
jyellick pushed a commit to bobanetwork/op-erigon that referenced this issue Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants