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

Consider use of @lru_cache decorator to improve performance #78

Open
IngoScholtes opened this issue Aug 9, 2018 · 1 comment
Open
Assignees

Comments

@IngoScholtes
Copy link
Collaborator

In a number of places, the use of the @lru_cache decorator, which will cache previously calculated values and return them in O(1) on future calls, may massively improve performance. We should Kkeep it in mind, see here: https://docs.python.org/3/library/functools.html#functools.lru_cache

@IngoScholtes
Copy link
Collaborator Author

Kamino cloned this issue to uzhdag/pathpy

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