Skip to content

memoization #134

Description

@F1LM1

Working on memoizing timecorr—need to have hashable parameters (then we can simply use Python's @lru_cache).

I've written a function that converts np.array and lists of np.array (non-hashable) into tuples (hashable when data is static) and back, but still can't think of a good way to hash any functions that may be passed in as parameters.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions