ECDICT icon indicating copy to clipboard operation
ECDICT copied to clipboard

建议 git 仓库就用 7z 文件,我可以提供定制的 diff / merge 工具。

Open cupen opened this issue 1 year ago • 2 comments
trafficstars

git 仓库里加一个 .gitattributes 文件,用于给 7z 文件指定个特殊的 diff 和 merge 工具。 慢就慢点,无所谓的,现在大家的桌面机几乎都是 16c32g 的配置,性能相当凑合。

cupen avatar Feb 26 '24 09:02 cupen

甚至 sqlite 文件,或者任意一种二进制的压缩格式都可以的,怎么方便怎么来。

cupen avatar Feb 26 '24 09:02 cupen

测试了下 7z e stardict.7z ,只需 2.5 秒。

$ time 7z e stardict.7z 

7-Zip [64] 17.05 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.05 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,12 CPUs x64)

Scanning the drive for archives:
1 file, 49613755 bytes (48 MiB)

Extracting archive: stardict.7z
--
Path = stardict.7z
Type = 7z
Physical Size = 49613755
Headers Size = 130
Method = LZMA2:28
Solid = -
Blocks = 1

Everything is Ok   

Size:       227559682
Compressed: 49613755

real	0m2.455s
user	0m2.235s
sys	0m0.217s

cupen avatar Mar 01 '24 08:03 cupen