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

[SpeedUp]: TypeAssigner by implementing a faster (+cached) LCA algorithm. #978

Open
swissiety opened this issue Jul 9, 2024 · 0 comments
Labels
improvement improve in readability, structure or performance

Comments

@swissiety
Copy link
Collaborator

Missing Feature

The TypeAssigner spends a lot of time in its lowest common ancestor implementation.
For every Local that should be typed a specific path is retrieved, butthe current implementation makes no use of its properties to speed up finding of the LCA.

It seems reasonable to move/associate the lca implementation into the typehierarchy.

some Inspiration: https://www.baeldung.com/cs/tree-lowest-common-ancestor.

@swissiety swissiety added the improvement improve in readability, structure or performance label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement improve in readability, structure or performance
Projects
None yet
Development

No branches or pull requests

1 participant