What is TerseTS?
TerseTS provides compression methods for lossless and lossy compression of time series. The lossy compression methods are organized into a hierarchy of families — each representing a distinct approach to approximating a series — so you can reason about them by strategy rather than by name. The library is implemented in Zig and exposes a Zig API and a C API, with bindings for several languages.
Lossy & lossless
Functional approximation, line simplification, domain transforms, value representation, and exact compression methods.
Error-bounded
Configure lossy compression with absolute or relative error bounds, so you trade size against accuracy on your terms.
Native & portable
A small C ABI built in Zig makes TerseTS easy to wrap from almost any language.
Citing TerseTS
If TerseTS contributes to a publication, please cite our open-access demo paper. The demo was presented at EDBT 2026 in Tampere and received an Honorable Mention for the Best Demo Award.
@inproceedings{TerseTS:Demo:2026,
author = {Carlos Enrique Muñiz-Cuza and Søren Kejser Jensen and
Tom Louis Klein and Sabina Bakhtiiarova and
Matthias Boehm and Torben Bach Pedersen},
title = {TerseTS: A Framework for Time Series Compression},
booktitle = {Proceedings 29th International Conference on Extending
Database Technology (EDBT)},
pages = {760--763},
publisher = {OpenProceedings.org},
year = {2026},
doi = {10.48786/EDBT.2026.74}
}