Optimize|FS|libcore: Memory optimizations in the file system
ArchiveFeed was caching all uncompressed entries in memory. This is problematic in the case where archives contain other archives, because that means the sub-archives were kept uncompressed in memory even when nobody needed them (populating the file system requires reading the sub-archives’ directories, too).
Added a new uncaching feature that allows releasing all these cached entries if they are unmodified.
Archive also has a method for manually caching or uncaching the archive contents.
Optimize|FS|libcore: Memory optimizations in the file system
ArchiveFeed was caching all uncompressed entries in memory. This is
problematic in the case where archives contain other archives,
because that means the sub-archives were kept uncompressed in memory
even when nobody needed them (populating the file system requires
reading the sub-archives’ directories, too).
Added a new uncaching feature that allows releasing all these cached
entries if they are unmodified.
Archive also has a method for manually caching or uncaching the
archive contents.