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

[WIP] add support for zstd compression #2277

Closed
wants to merge 7 commits into from

Commits on Jul 5, 2018

  1. Configuration menu
    Copy the full SHA
    4d14484 View commit details
    Browse the repository at this point in the history
  2. configure.ac: minor touchup to brotli code

    Fixes Makefile.config containing:
    `HAVE_BROTLI = 1]`
    
    Which was apparently harmless (unused, I think)
    but is good to fix anyway.
    dtzWill committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    39e67d7 View commit details
    Browse the repository at this point in the history
  3. add initial zstd support

    dtzWill committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    64445e3 View commit details
    Browse the repository at this point in the history
  4. zstd: use recommended buffer size

    allocate out-of-object to keep things neat.
    dtzWill committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    8a4ad60 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cdae719 View commit details
    Browse the repository at this point in the history
  6. zstd decompression

    dtzWill committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    b41432b View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2018

  1. zstd: check for interrupts in compression loop

    Match what we do in other compression methods.
    This is particularly important when using higher
    compression levels, in order to ensure interrupts
    are noticed in a somewhat responsive manner.
    
    Breaking into chunks as hinted by zstd should help
    this further, but this makes things much better already.
    
    (not following those hints shouldn't be much worse
    than what we have with other methods)
    dtzWill committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    0a2c7cd View commit details
    Browse the repository at this point in the history