fastcdc

Tool to split data into content determined chunks

View the Project on GitHub miyako/fastcdc

version platform license downloads

fastcdc

Tool to split data into content determined chunks

[!WARNING] running CDC on text may yield semantically incorrect chunks

Using xiacode/FastCDC-c

CLI is a text-splitter alternative.

[!TIP] although primarily intended for text chunking, the algorithm can be used on arbitrary data too. pass the -r switch to process raw data

[!NOTE] by default, the ORIGIN_CDC function is used. other functions are available via switches

-R: ROLLING_2Bytes
-n: NORMALIZED_CDC
-N: NORMALIZED_2Bytes

usage

Usage:  fastcdc -r -i in -o out -

split text into content determined chunks

 -i path  : document to parse
 -o path  : text output (default=stdout)
 -        : use stdin for input
 -r       : raw data (default=no)
 -f size  : minimum size (default=2048)
 -t size  : maximum size (default=32768)