Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-460

ZstdCompressorOutputStream: specify compression level

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.17
    • 1.18
    • Compressors
    • None

    Description

      ZstdCompressorOutputStream allows to compress data using Zstandard, but the default compression level of 3 is hard-coded.

      Programs that wish to use a different compression level must reimplement ZstdCompressorOutputStream.

      I suggest we add a constructor that takes a compression level and passes it to 

      `new ZstdOutputStream(...)`.

      Attachments

        Activity

          People

            Unassigned Unassigned
            carmi Carmi Grushko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified