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 memoizing smarter #133

Open
timodonnell opened this issue Dec 14, 2015 · 0 comments
Open

consider memoizing smarter #133

timodonnell opened this issue Dec 14, 2015 · 0 comments

Comments

@timodonnell
Copy link
Contributor

Issues such as #131 suggest we may want to:

  • have a fixed-sized cache for memoizing
  • memoize methods by hanging the cache off of the object (instead of a global dict), to avoid dict lookups
  • think more carefully about what we memoize and avoid memoizing things that are reasonably fast to compute
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