-
Notifications
You must be signed in to change notification settings - Fork 20
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
Option to cache read files, but not whole archive #31
Comments
This idea mostly makes sense for archive formats that are designed to be accessed in random order without having to decompress the whole archive ( However, for all the solidly compressed archive formats ( Do you need to deal with a specific archive format? |
Specifically the types of files I work with are the archives you talked about first, archives where files can be individually extracted. I could look into making a PR, but I would only be able to start it in a week. |
If you deal with ZIP archives, I suggest you try the If you deal with non-solidly compressed archives other than ZIP, I suggest you try |
More specifically I am working with |
Ok. You described some very specific constraints for which an incremental or "lazy" caching mechanism makes sense. It is certainly possible to implement it. But I don't promise that it is going to be a high priority item for me. |
Hello, I was wondering if there was a possibility for the program to cache files that are either read, or recently read. For example say I have a folder with 5 files, I mount this archive and no files are cached immediately. The second I read one of the files, that specific file that I read is cached into /tmp. That way you can have fast reads and sequential reads to a file, but ignore files that are not used. An upgraded version of this would be the ability to cache files for a specific amount of time after last read, and then remove the cache after the time is up.
The text was updated successfully, but these errors were encountered: