This project is read-only.

Parallelization

Dec 8, 2014 at 7:41 PM
Should LZ4Stream work multi-threaded? Or what does "scalable with multi-cores CPU" mean? Because I cannot see more than 1 CPU busy when using LZ4Stream: HC mode is significantly slower so IO is not the bottleneck then.
Apr 1, 2015 at 12:09 PM
LZ4 is NOT a parallel algorithm. You can parallelize it yourself (at least LZ4HC) by doing something like AsParallel().Ordered().Select(b => Compress(b)).
But by default it is single threaded.