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

[Examples] Refactor p/demo/blog package to use slice instead of AVL tree #2456

Open
leohhhn opened this issue Jun 28, 2024 · 0 comments
Open
Assignees

Comments

@leohhhn
Copy link
Contributor

leohhhn commented Jun 28, 2024

Description

Currently there is an unsolved bug with AVL Tree: #2266 & #1543

This makes the edit & remove functionalities in the blog package unusable. I propose that we refactor this package to use slices; AVL Trees are very good at storing large amounts of nodes (in this case, blog posts); in the case of the blog package, the amount of blog posts will realistically not be large. I propose that we replace the AVL tree storage with slices, so that all of the aforementioned functionalities are working properly; at least until we fix the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant