Skip to content

Commit

Permalink
Better compression for lz4
Browse files Browse the repository at this point in the history
  • Loading branch information
KOLANICH committed Apr 5, 2022
1 parent 12f4cff commit 4cbea0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified _test/compressed/25k_uuids.lz4
Binary file not shown.
2 changes: 1 addition & 1 deletion _test/generate-data
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ for I in uncompressed/*.dat; do
BASE=$(basename "$I" | sed 's/\.dat$//')

echo "$BASE.lz4"
lz4 -9 <$I >compressed/$BASE.lz4
lz4 --best -BD <$I >compressed/$BASE.lz4

echo "$BASE.zlib"
ruby -e 'require "zlib"; $stdout.write(Zlib::deflate($stdin.read))' <$I >compressed/$BASE.zlib
Expand Down

0 comments on commit 4cbea0d

Please sign in to comment.