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

Create framework for file-level cache #78

Open
idle-code opened this issue Feb 11, 2023 · 0 comments
Open

Create framework for file-level cache #78

idle-code opened this issue Feb 11, 2023 · 0 comments
Labels
enhancement New feature or request improvement Improvement to the existing feature/process

Comments

@idle-code
Copy link
Owner

Tags might perform expensive operations like reading metadata blocks from a large file or accessing the network; when used multiple times in the same template, those operations might be repeated unnecessarily - for example when extracting artist name and track title simultaneously.
To combat this, a short-lived cache can be utilized. Fortunately, there is already file descriptor caching in place on the File class, so the cache can also be placed there.

@idle-code idle-code added the enhancement New feature or request label Feb 11, 2023
@idle-code idle-code added the improvement Improvement to the existing feature/process label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request improvement Improvement to the existing feature/process
Projects
None yet
Development

No branches or pull requests

1 participant