Skip to content
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

RFC: Remove support for Brotli and Snappy compression #2123

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

adamreichold
Copy link
Collaborator

This is a follow-up to #2121 (comment)

LZ4 provides fast and simple compression whereas Zstd is exceptionally flexible so that the additional support for Brotli and Snappy does not really add any distinct functionality on top of those two algorithms.

Removing them reduces our maintenance burden and reduces the number of choices users have to make when setting up their project based on Tantivy.

Base automatically changed from compression-feature-gate to main July 14, 2023 02:02
@fulmicoton
Copy link
Collaborator

@adamreichold can you rebase?

@adamreichold
Copy link
Collaborator Author

@adamreichold can you rebase?

Done.

LZ4 provides fast and simple compression whereas Zstd is exceptionally flexible
so that the additional support for Brotli and Snappy does not really add
any distinct functionality on top of those two algorithms.

Removing them reduces our maintenance burden and reduces the number of choices
users have to make when setting up their project based on Tantivy.
@fulmicoton
Copy link
Collaborator

Thank you @adamreichold

@codecov-commenter
Copy link

Codecov Report

Merging #2123 (0c88c38) into main (5fafe4b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main    #2123   +/-   ##
=======================================
  Coverage   94.37%   94.38%           
=======================================
  Files         321      319    -2     
  Lines       60821    60767   -54     
=======================================
- Hits        57401    57352   -49     
+ Misses       3420     3415    -5     
Impacted Files Coverage Δ
src/lib.rs 99.05% <ø> (ø)
src/core/index_meta.rs 96.14% <100.00%> (ø)
src/store/compressors.rs 97.70% <100.00%> (+5.51%) ⬆️
src/store/decompressors.rs 97.82% <100.00%> (-0.39%) ⬇️
src/store/mod.rs 99.20% <100.00%> (-0.03%) ⬇️

... and 3 files with indirect coverage changes

@fulmicoton fulmicoton merged commit 820f126 into main Jul 14, 2023
@fulmicoton fulmicoton deleted the drop-brotli-snappy branch July 14, 2023 07:55
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.

3 participants