cram.

Error-bounded lossy compression for scientific floating-point data. The bound you ask for is the bound you get, every byte is counted, and the decode is byte-identical on CPU, GPU and in your browser.

Measured

Use it

cargo add cram-codec

cram is built on tang and was formerly named tang-compress. It is MIT OR Apache-2.0. Every number above traces to a report in the repository. Not to be confused with the CRAM genomics format.