con / con/fscacher

memoized_path_copy helper to complement @memoize_path

Open
#57 5 comments 0 reactions 1 assignee Assigned to @yarikoptic-gitmate View on GitHub
blocked
Dominant language
Python
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

In the light of https://github.com/dandi/dandi-cli/issues/848 discussion to allow for more efficient caching of digests, I wondered if it would be feasible to provide something like `memoized_path_copy` which would copy all (?) memoized invocations for a specific decorated function as they were invoked for another "new" path.

ATM, looking at the code, and since we rely on joblib memoization and otherwise do not track what specific parametrizations of the function were used, I really do not see how we could even do that. But may be you @jwodder see some way to provide such functionality?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.