Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: klauspost/compress
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.17.6
Choose a base ref
...
head repository: klauspost/compress
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.17.7
Choose a head ref
  • 5 commits
  • 9 files changed
  • 2 contributors

Commits on Feb 5, 2024

  1. Update README.md

    klauspost authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    8e5ae40 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    4c49017 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. s2: Add AsyncFlush method: Complete the block without flushing (#927)

    * s2: Add AsyncFlush method: Complete the block without flushing
    
    My use case is to transfer a large compressed S2 stream with a few
    changes very often. To get a small diff I want to end blocks at
    application decided points rather than at byte offsets. This allows me
    to remove the first byte without every single block changing.
    
    Flush() works for this, but it limits concurrency because it waits for
    the last block to be compressed rather than allowing that
    asynchronously.
    
    So I'd like to propose AsyncFlush, which flushes the buffer to a block,
    but doesn't flush the block to the io.Writer.
    
    There were actually a few places in the s2 code that also wanted to end
    the block, but didn't necessary want to flush to the writer.
    
    * Update s2/writer.go
    
    Co-authored-by: Klaus Post <[email protected]>
    
    ---------
    
    Co-authored-by: Klaus Post <[email protected]>
    Jille and klauspost authored Feb 12, 2024
    Configuration menu
    Copy the full SHA
    5895eb4 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Configuration menu
    Copy the full SHA
    68b7039 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e2b275 View commit details
    Browse the repository at this point in the history
Loading