1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-28 00:01:53 +03:00
Files
zstd/contrib/externalSequenceProducer
jinyaoguo dd4cee9190 Release resources before returning
In main, resources were freed on the success path but not in the error path.
This change ensures all allocated resources are released before returning.
2025-06-03 15:28:11 -04:00
..
2025-06-03 15:28:11 -04:00

externalSequenceProducer

externalSequenceProducer is a test tool for the Block-Level Sequence Producer API. It demonstrates how to use the API to perform a simple round-trip test.

A sample sequence producer is provided in sequence_producer.c, but the user can swap this out with a different one if desired. The sample sequence producer implements LZ parsing with a 1KB hashtable. Dictionary-based parsing is not currently supported.

Command line :

externalSequenceProducer filename