java - 计算机文件如何进行压缩的
大家讲道理
大家讲道理 2017-04-18 10:26:42
0
4
532

如题,最近在看美剧硅谷,突然想了解下计算机文件是如何进行压缩的?如果你也不是很清楚能大概告诉我要参考哪些类书吗?谢谢了

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(4)
Ty80

If you don’t study it in depth first, then Huffman coding is enough.

One more thing, Huffman coding is taught in data structure courses.

阿神

"Information Theory and Coding"

左手右手慢动作

My personal understanding is to use an algorithm to find the repeated data sequence in the file and extract the record position. In this way, only the record position and a sequence are used, thus completing the compression.

黄舟

I think this is what it means: 1W after 10000 compression. Here is the content to be compressed. I repeated it several times. After compression, bula1, just save a copy of the original content. It has the same meaning as a variable and replace it when decompressing.

This should be the simplest idea. There must be NB's algorithm that is more efficient.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template