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

AVL tree implementation #48

Open
saltyJeff opened this issue Jan 15, 2020 · 0 comments
Open

AVL tree implementation #48

saltyJeff opened this issue Jan 15, 2020 · 0 comments

Comments

@saltyJeff
Copy link

I've implemented a version of this library that replaces the linked list with an AVL tree for managing registers. This changes reads / updates from O(n) to O(log N) which has helped my code a lot.

https://github.com/UCLA-Rocket-Project/daq-slave/tree/master/lib/Modbus

Should I submit a PR? This does have the side effect of increasing code size / bumping insertions to O(log N).

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

No branches or pull requests

1 participant