Skip to content

Implementing in memory compression of doubles, based on XOR compression

Notifications You must be signed in to change notification settings

ewinnington/doubles-compression-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doubles-compression-cpp

Implementing in memory compression of doubles, based on XOR compression

Implementing the Xor Compression for double data as described in the Facebook Gorilla paper (4.1.2 Compressing values)

Illustrated here

Regarding the implementation, I had one change from the paper

#define BITS_LEADING_LENGTH 6 //Contrary to the paper claims, I need 6 bits to encode the leading zeros and not 5 bits
#define BITS_XOR_LENGTH 6

Also very interesting for a follow-up paper to implement https://github.com/andybbruno/TSXor

About

Implementing in memory compression of doubles, based on XOR compression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published