Skip to content

Conversation

@klauspost
Copy link
Collaborator

This also includes some overall tweaks to assembly, which should bring up speed in Intel.

Adds an "official" uncompressed level.

LevelSuperFast

Furthermore LevelSuperFast is provided. This compression mode is aimed purely at reducing
slowdown when compressing hard-to-compress data. In practice that is short matches.

The compression ratio can greatly suffer in this mode, but in these cases it can be faster.
So if you have a very high throughput (typically > 1GB/core/s) and a time-sensitive use case,
this can be used to ensure the compression doesn't take too much longer on this content.

For these cases the speed difference can be up to 2x over LevelFastest, but also with a
much worse compression ratio.
However, most often it will be around 15% faster with a similar drop in the compression ratio.

Typically, the performance difference will also be the same for decompression.

@klauspost klauspost marked this pull request as draft January 7, 2026 16:56
@klauspost klauspost marked this pull request as ready for review January 7, 2026 17:38
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