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

Node tree view optimizations #416

Open
herzbube opened this issue Jan 30, 2024 · 0 comments
Open

Node tree view optimizations #416

herzbube opened this issue Jan 30, 2024 · 0 comments
Assignees

Comments

@herzbube
Copy link
Owner

  • It might be possible to greatly improve the node number calculation algorithm. Some notes:
    • Either do something similar like generateNodeNumberForSelectedNodeIfNoneExistsYet: Generate "trial" cells and add them to the dictionary only if no other cell existed yet.
    • Or write a stateful algorithm.
    • In any case: Write unit tests first.
  • Optimize drawing of node tree view: For some changes it might not be necessary to redraw the entire tree.
    • Example: When a new node is added.
    • Measure before/after performance on a real device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant