XOR floating point compression is a simple algorithm that reduces the size of floating point timeseries by XORing subsequent values and encoding them in a compressed format using a set of rules. The algorithm achieves good compression by taking advantage of repeated values and removing leading and trailing zeros in the XORed values. The 'max regret' threshold is a heuristic used in the algorithm to reset the window size and optimize compression.

23m read timeFrom clemenswinter.com
Post cover image
Table of contents
The algorithmTweaking the algorithmPerformanceMore examples

Sort: