VasiliBaranov / navigation-assistant

Easy navigation in Windows Explorer and Total Commander
4 stars 0 forks source link

Improve memory consumption #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Force garbage collection when hiding the Navigation Assistant window (as folder 
matches may consume up to 10Mb on my machine)

Optimize cache storage:
don't store full cache and filtered cache (see CachedFileSystemParser class), 
store just filtered cache and full cache changes; 

when serializing the cache serialize just changes (add SerializeChanges method 
to CacheSerializer); 

on deserializing for the first time (in CachedFileSystemParser) normalize the 
cache file and combine saved changes (add a NormalizeCache method to 
CacheSerializer).

Consider match searching optimization (MatchSearcher class): sort matches 
inside (not in MatchModelMapper), return just max matches.

Original issue reported on code.google.com by vasili.b...@gmail.com on 30 Oct 2011 at 1:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Match searching optimization can not be optimized in this way, as priorities 
are given to exact matches; i.e. sorting should be performed after the entire 
folder list is matched. Other points are fixed.

Original comment by vasili.b...@gmail.com on 4 Dec 2011 at 6:20