simple-zstd icon indicating copy to clipboard operation
simple-zstd copied to clipboard

V2 - buffer interface, dictionary support, child process queue

Open Stieneee opened this issue 1 year ago • 4 comments

This version address to issue with the original release.

  • The lack of a buffer interface.
  • The lack of obvious dictionary support. While the original interface exposed all zstd options as an array argument, it was not obvious to users that this was capable. as most will have to reimplement the same tmp file interface, the package was extended to include more direct support.
  • A child process queue. When instantiating an instance of the SimpleZSTD class, the user of the package can request a child process queue. The class will spawn instances of ZSTD and hold them in waiting for the next request. This, in theory, should reduce the latency related to spacing the child process.

The interface of the package has changed hence the major version bump.

Stieneee avatar Aug 07 '22 20:08 Stieneee