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

Optimize SimulationMap constructor complexity #35

Open
kolayne opened this issue Nov 14, 2020 · 0 comments
Open

Optimize SimulationMap constructor complexity #35

kolayne opened this issue Nov 14, 2020 · 0 comments

Comments

@kolayne
Copy link
Member

kolayne commented Nov 14, 2020

Current SimulationMap constructor complexity seems to be N^2, where N is the number of nodes being created (because of find_index_of_nearest_node's complexity N). Must be better. Should be fixable with a hash map

@kolayne kolayne assigned kolayne and unassigned kolayne Nov 14, 2020
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