lz4_flex icon indicating copy to clipboard operation
lz4_flex copied to clipboard

Multithreading

Open swz-git opened this issue 1 year ago • 2 comments

The lz4 github page states that the algorithm is multithreadable. Is it possible to run lz4_flex on multiple cores?

swz-git avatar May 09 '24 20:05 swz-git

There's no multi-threading in this crate, but it would be generally possible.

PSeitz avatar May 10 '24 03:05 PSeitz

LZ4 1.10 is out now with multithreaded compression, which gives some nice speedups at higher compression levels.

Here's the PR that added multithreading https://github.com/lz4/lz4/pull/1336

Elabajaba avatar Jul 22 '24 19:07 Elabajaba