Skip to content

huff0: Populate compression table#275

Merged
klauspost merged 2 commits intomasterfrom
huff0-allow-reading-table-for-compression
Aug 11, 2020
Merged

huff0: Populate compression table#275
klauspost merged 2 commits intomasterfrom
huff0-allow-reading-table-for-compression

Conversation

@klauspost
Copy link
Copy Markdown
Owner

Populate the "previous" compression when reading table.

Add mode that forces reuse of previous table and never generates a new.

Allow bare table to be used.

Populate the "previous" compression when reading table.

Add mode that forces reuse of previous table and never generates a new.

Allow bare table to be used.
klauspost added a commit to klauspost/rclone that referenced this pull request Aug 10, 2020
Allows to compress short arbitrary strings and returns a string using base64 url encoding.

Generator for tables included and a few samples has been added.
Add more to init.go

Tested with fuzzing for crash resistance and symmetry, see fuzz.go

Requires klauspost/compress#275 - until release a replace has been added to go.mod
@klauspost klauspost merged commit 3fdfbd5 into master Aug 11, 2020
@klauspost klauspost deleted the huff0-allow-reading-table-for-compression branch August 11, 2020 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant