You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LZ4 v1.10.0 introduces major updates, integrating 600+ commits that significantly enhance its capabilities. This version brings multithreading support to the forefront, harnessing modern multi-core processors to accelerate both compression and decompression processing. It's a good upgrade for users looking to optimize performance in high-throughput environments.
Multithreading support: The most visible upgrade of this version is likely Multithreading support. While LZ4 has historically been recognized for its high-speed compression, the demand for even faster throughput has grown, particularly with the advent of nvme storage technologies that allow for multi-GB/s throughput. Multithreading is particularly beneficial for High Compression modes, which now perform dramatically faster.
Can we configure the number of threads in the Python binding?
This package does not offer multithreading. The multithreading in LZ4 with a thread pool is implemented in the tool code, not in the library code used by python-lz4.
Activity
ypnos commentedon Jan 12, 2026
This package does not offer multithreading. The multithreading in LZ4 with a thread pool is implemented in the tool code, not in the library code used by python-lz4.
leanhdung1994 commentedon Jan 14, 2026
@ypnos Could you send me links to the tool code and the library code?
ypnos commentedon Jan 15, 2026
Tool code: https://github.com/lz4/lz4/tree/dev/programs
Library code: https://github.com/lz4/lz4/tree/dev/lib
cclauss commentedon Jan 18, 2026
leanhdung1994 commentedon Jan 18, 2026
This PR will allow setting the number of workers, right?
ypnos commentedon Jan 19, 2026
No, it won't. It will enable efficient use of threading in Python with lz4 package. But the threading itself still needs to be implemented.