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

Add global memo cache and integrate with the setUp and teardown injection #130

Merged
merged 5 commits into from
Mar 26, 2024

Commits on Mar 25, 2024

  1. (wip) Add caching on type-level

    with the help of two classes. The MemoCache is not intended to be
    instantiated but holds a global cache. One can interact with this
    cache via classmethods.
    
    The `Memo` class is to be used as a decorator on whatever one wants
    to cache. It computes a value lazily and caches it within
    `MemoCache`.
    
    You can delete the class to empty the cache.
    maxmynter committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    09bbfde View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Cache with global dict

    maxmynter committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    6320010 View commit details
    Browse the repository at this point in the history
  2. Add memo caching facility with test

    Also some very rough memo cache manip APIs.
    
    This means all required parts are in place for user memory management
    with memos.
    nicholasjng committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    bde6455 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9449cb0 View commit details
    Browse the repository at this point in the history
  4. Add docstrings

    maxmynter committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    bab25d3 View commit details
    Browse the repository at this point in the history