直接将1 gig +的文本文件写入压缩文件. [英] Writing text files 1 gig+ directly into compression.
本文介绍了直接将1 gig +的文本文件写入压缩文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好!我正在尝试找出一种使用C#将大型生成的文本文件直接写入压缩的方法.它们是字符列表,例如:
AAA
AAB
AAC
它们压缩得很好,但是初始文件很大. C#中的GZIP库仅将文件大小减半,而winrar将其缩小到十分之一.如果一半不成立,这是可以接受的.
这些文件非常大,超过1 TB.
Hello there! I''m trying to figure out a way to write large generated text files directly into compression using C#. They are list of characters such as:
AAA
AAB
AAC
They compress very well, but the initial files are enormous. The GZIP libraries in C# only cut the file size in half, where as winrar knocks it down to a 10th. This is acceptable where as half isn''t.
These files get extremely large, over a terabyte.
推荐答案
看看这些文件:
http://sevenzipsharp.codeplex.com/ [ ^ ]
用于7压缩存档DLL的C#(.NET)接口 [
Take a look at these :
http://sevenzipsharp.codeplex.com/[^]
C# (.NET) Interface for 7-Zip Archive DLLs[^]
这篇关于直接将1 gig +的文本文件写入压缩文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文