Freaky / Compactor

A user interface for Windows 10 filesystem compression
MIT License
1.16k stars 47 forks source link

Skip frequently updated files #24

Open Freaky opened 4 years ago

Freaky commented 4 years ago

Files that get updated a lot, particularly if they're large, are poor candidates for compaction.

An obvious simple heuristic that seems likely to be relatively effective is to check file modification time, and simply have a configurable cutoff - if it's changed in the past n days, skip it. Tiering this by file size might also make sense - frequently decompressing and recompressing a small file is much less costly than a large one.

This sort of thing will be more important should Compactor migrate to a background system service with patrol compactions.

alpe12 commented 4 years ago

Yeah, I was going to suggest this. Even without tiering an option to set this cutoff would be very useful.

alpe12 commented 3 years ago

@Freaky Please, take a look at adding this cutoff by modified time. Thanks.

Freaky commented 3 years ago

Will be getting to it soon!

Freaky commented 1 year ago

What I said but really this time.

compactor-0 11-settings

ThoughtPhotography commented 3 months ago

Any chance of adding a download link for the newest development build for those comfortable with pre-releases?

What I said but really this time.

compactor-0 11-settings