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

Injectable Memoization #138

Merged
merged 2 commits into from
Feb 5, 2015
Merged

Injectable Memoization #138

merged 2 commits into from
Feb 5, 2015

Commits on Feb 5, 2015

  1. Add ability to cache injectable results on inputs

    If you have a utility function registered as an injectable but
    it is not being automatically called you can now get caching of
    results based on the inputs so long as the inputs are all hashable.
    Use the memoize=True keyword along with autocall=False to get
    this behavior.
    
    Note that this only applies if you're using the utility via
    the simulation framework (via injection or get_injectable).
    jiffyclub committed Feb 5, 2015
    Configuration menu
    Copy the full SHA
    6208e72 View commit details
    Browse the repository at this point in the history
  2. Update injectable docs with info on memoization

    [ci-skip]
    jiffyclub committed Feb 5, 2015
    Configuration menu
    Copy the full SHA
    68e9ffb View commit details
    Browse the repository at this point in the history