Skip to content

vector-wise memoisation #160

Description

@katossky

I have these functions that make some (vectorized) date computation on pairs of (vector-)inputs. Since I apply these functions millions of times in loops I need them to be extra effficient. However, memoise treats the full vector as one input, and thus I do not benefit from the caching.

Could there in principle be a vectorised memoise, maybe called differently ?

It is not quite deduped, though it would benefit from it, since deduped does not remember values in between successive calls.

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