Skip to content

sivukhin/zsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zsc

zig-sequence-compression (zsc) - simple library for compression of integer/float sequences

Currently there are two algorithms implemented:

  1. gorilla - efficient algorithm for sequence compression presented at the work from Facebook
  2. entropy - ad-hoc algorithm which compress batches of numbers bit by bit separately

You can experiment with the tool via CLI interface. Just grab a binary file and try to compress it:

$> make build-release
$> ./zig-out/bin/zsc load -i examples/f64-128.txt -t float -w 64 | ./zig-out/bin/zsc compress -a entropy -w 64 > /dev/null
# outputs:
# load: stdin => stdout : 40.63% (2520 => 1024 bytes)
# compress: stdin => stdout : 69.63% (1024 => 713 bytes)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages