[FR] Skip small files, add COMPRESS attr to folders, "include mode" (only compress these extension names)
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
调研方向
Start by locating the code that selects files for compression and applies compression to folders. The issue proposes three changes: skip files smaller than 64 KB, mark folders with compressed files using the COMPRESS attribute, and add an include mode for selected extensions. Check how the existing exclude mode works; done means these options behave as described and are covered by appropriate tests.
由索引模型根据 Issue 内容生成。
描述
avoid compressing small files
A good choice is skipping <64K files
https://superuser.com/questions/411720/how-does-ntfs-compression-affect-performance
mark folders with compressed files "compressed"
Reason: on the fly compression. This help reduce fragmentation when files are changed and you need to be compressed it again.
https://superuser.com/a/1204426
Fact check required!
include mode
For now there is only "exclude mode" (don't compress for these extension names), which works well for games.
I really hope we can have "include mode" (only compress for these extension names). This would be very helpful when you only want to compress regular applications, and should only compress files that are known to have high compression ratios (exe, dll, c, h, go, html)
- 主要语言
- Visual Basic .NET
- 星标
- 8.9k
- 派生
- 343
- 平均合并
- 6 天 13 小时
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
IridiumIO/CompactGUI 的其他 Issue
-
Curse you for the AI Bug Report (But I should fix)
难度 2/5 1-3 小时 新手友好度 76/100
IridiumIO/CompactGUI#699 ·
-
Curse you for the AI Bug Report (But I should fix)
难度 2/5 1-3 小时 新手友好度 82/100
IridiumIO/CompactGUI#697 ·
-
Curse you for the AI Bug Report (But I should fix)
难度 2/5 1-3 小时 新手友好度 78/100
IridiumIO/CompactGUI#696 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
IridiumIO/CompactGUI#680 ·
-
难度 4/5 3-5 天 新手友好度 45/100
IridiumIO/CompactGUI#707 ·
查看 IridiumIO/CompactGUI 的全部 Issue
相似的 Issue
-
44-x-y bug :beetle:
难度 1/5 1 小时以内 新手友好度 82/100
electron/electron#55528 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
PavluntiyJ/ancient-lens#74 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
cofade/open-garden-planner#659 ·
维护者通常 1 天内回复
-
Status: Needs confirmation Status: Needs triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
area: replay area: ui bug
难度 2/5 1-3 小时 新手友好度 70/100
JavenKazebee/capture-room#158 ·
维护者通常 1 天内回复