Skip to content

Commit

Permalink
update according to fast default mode
Browse files Browse the repository at this point in the history
  • Loading branch information
xbarin02 committed Feb 14, 2020
1 parent be92450 commit 71afd5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Bold font indicates the best result.
| lz4 1.9.2 | 1.75 | **0.29** | **0.11** | 20 619 |
| lzop 1.04 | 1.78 | 0.36 | 0.33 | 17 123 |
| **x** | 1.88 | 1.03 | 0.91 | **699** |
| **x** (high compression) | 1.95 | 2.61 | 1.62 | **699** |
| gzip 1.9 | 2.74 | 4.69 | 0.63 | 48 552 |
| zstd 1.3.7 | 2.80 | 0.55 | 0.18 | 111 948 |
| bzip2 1.0.6 | 3.45 | 7.39 | 3.36 | 8 117 |
Expand All @@ -42,7 +41,7 @@ The algorithm

The **x** uses an adaptive Golomb-Rice coding based on context modeling.
The context model uses a single previous byte in the uncompressed stream to predict the next byte.
The compressor can switch between fast compression mode (`-1` argument) and multi-pass high compression mode (default).
The compressor can switch between fast compression mode (default) and multi-pass high compression mode.

How to build?
-------------
Expand Down
2 changes: 1 addition & 1 deletion x.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void print_help(char *path)
{
fprintf(stderr, "Usage :\n\t%s [arguments] [input-file] [output-file]\n\n", path);
fprintf(stderr, "Arguments :\n");
fprintf(stderr, " -1 : compress faster\n");
fprintf(stderr, " -1 : compress faster (default)\n");
fprintf(stderr, " -9 : compress better\n");
fprintf(stderr, " -d : force decompression\n");
fprintf(stderr, " -z : force compression\n");
Expand Down

0 comments on commit 71afd5b

Please sign in to comment.