Quantcast
Channel: sharpcompress Discussions Rss Feed
Viewing all articles
Browse latest Browse all 239

New Post: Time Series Compression with SharpCompress using DetlaCodec

$
0
0
Hi,
I just wanted to let users know that SharpCompress can easily be adapted for use in DeltaCodec for "frictionless" time series compression.

This allows a developer to directly encode and decode lists or arrays of any intrinsic data type.
For example,
var codec = SharpCompressBZip2DeltaCodec.Instance;
var bytes = codec.Encode(IList<T> list);
var listOut = codec.Decode<T>(bytes);
Custom codecs or codec methods can be added to handle arbitrarily complex data structures.

Differencing the time series improves the ratio significantly, and speed can be enhanced by encoding multiple blocks concurrently.
For example,
var bytes = codec.Encode(list, numBlocks: 4, level: CompressionLevel.Fastest);
I Hope others will find this useful.

bstabile

Viewing all articles
Browse latest Browse all 239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>