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

Is Gcstd_eval.from_nodes asymptotically optimal for our use case? #23

Open
nlevenson opened this issue Mar 17, 2021 · 0 comments
Open

Comments

@nlevenson
Copy link

We build a hashmap from Gcntree nodes so we can look up node numbers in O(1), which makes the whole algorithm O(m + n) instead of O(m * n) had we just done linear search against the list of node numbers for each node in the Gcntree...

Are the setup costs and space complexity tradeoffs worth it? How big do we imagine that standards might eventually become? Can we imagine a world in which Ground Control is used for some purpose other than we originally intended, and our inputs get really big?

@nlevenson nlevenson changed the title Is Gceval.from_nodes asymptotically optimal for our use case? Is Gcstd_eval.from_nodes asymptotically optimal for our use case? Mar 17, 2021
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