Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

compress_fst

Compress a raw vector using the LZ4 or ZSTD compressor.


Description

Compress a raw vector using the LZ4 or ZSTD compressor.

Usage

compress_fst(x, compressor = "ZSTD", compression = 0, hash = FALSE)

Arguments

x

raw vector.

compressor

compressor to use for compressing x. Valid options are "LZ4" and "ZSTD" (default).

compression

compression factor used. Must be in the range 0 (lowest compression) to 100 (maximum compression).

hash

Compute hash of compressed data. This hash is stored in the resulting raw vector and can be used during decompression to check the validity of the compressed vector. Hash computation is done with the very fast xxHash algorithm and implemented as a parallel operation, so the performance hit will be very small.


fst

Lightning Fast Serialization of Data Frames

v0.9.4
AGPL-3 | file LICENSE
Authors
Mark Klik [aut, cre, cph], Yann Collet [ctb, cph] (Yann Collet is author of the bundled LZ4 and ZSTD code and copyright holder of LZ4), Facebook, Inc. [cph] (Bundled ZSTD code)
Initial release
2020-08-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.