Project

General

Profile

« Previous | Next » 

Revision e90c64f2

Added by skyjake almost 8 years ago

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences