Skip to content

Commit

Permalink
crypto/zstd.c: ZSTD_DEF_LEVEL swtich to 1
Browse files Browse the repository at this point in the history
Level 1 is faster than level 3, and the compression ratio is very similar to level 3.
  • Loading branch information
urain39 committed Jul 15, 2022
1 parent 7bc16e5 commit 0deb072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/zstd.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <linux/zstd.h>


#define ZSTD_DEF_LEVEL 3
#define ZSTD_DEF_LEVEL 1

struct zstd_ctx {
zstd_cctx *cctx;
Expand Down

0 comments on commit 0deb072

Please sign in to comment.