-
Notifications
You must be signed in to change notification settings - Fork 18
Compress algriothm #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
heisen-li
wants to merge
8
commits into
OptimizeLab:master
Choose a base branch
from
heisen-li:compress_algriothm
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_flate_algorithm/Golang压缩库flate算法原理分析.md
Outdated
Show resolved
Hide resolved
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_flate_algorithm/Golang压缩库flate算法原理分析.md
Outdated
Show resolved
Hide resolved
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_flate_algorithm/Golang压缩库flate算法原理分析.md
Outdated
Show resolved
Hide resolved
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_flate_algorithm/Golang压缩库flate算法原理分析.md
Outdated
Show resolved
Hide resolved
surechen
reviewed
Sep 18, 2020
|
||
 | ||
|
||
那么定义了这棵树带来了什么改变吗?如果定义了这种特殊的树,那就可以只记录编码长度就可以对字符进行表示了。比如上图中,就可以表示A - 2. B - 1. C - 3, D - 3。这样我们记录这个对应关系就可以了。这是这个算法的最核心的一点:用码字长度序列将这棵码树记录下来。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A - 2. 有的地方用. 有的用,这里有什么含义吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的意思是A这个字符的表示长度为2.也就是01;
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_flate_algorithm/Golang压缩库flate算法原理分析.md
Outdated
Show resolved
Hide resolved
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_lzw_algorithm/Golang压缩库lzw算法原理分析.md
Outdated
Show resolved
Hide resolved
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_lzw_algorithm/Golang压缩库lzw算法原理分析.md
Outdated
Show resolved
Hide resolved
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_lzw_algorithm/Golang压缩库lzw算法原理分析.md
Outdated
Show resolved
Hide resolved
surechen
reviewed
Sep 18, 2020
blog/compress_algorithm/compress_lzw_algorithm/Golang压缩库lzw算法原理分析.md
Outdated
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.