lz4-java icon indicating copy to clipboard operation
lz4-java copied to clipboard

Roadmap to remove LZ4FastDecompressor

Open odaira opened this issue 4 years ago • 0 comments
trafficstars

Because the original C implementation of LZ4_decompress_fast() has been deprecated since lz4 v1.9.0, lz4-java must sooner or later remove LZ4FastDecompressor, or at least its JNI binding. Here are my thoughts.

  1. Support LZ4SafeDecompressor where only LZ4FastDecompressor is supported
    1. LZ4DecompressorWithLength - e4780ab9789fe3a8e4a144d1d26e2815311ed502 will be included in lz4-java v1.8.0
    2. LZ4BlockInputStream - lz4-java v1.9.0?
    3. Deprecate the use of LZ4FastDecompressor in LZ4DecompressorWithLength and LZ4BlockInputStream - lz4-java v1.9.0?
  2. Remove the JNI binding of LZ4FastDecompressor; keep the Safe/Unsafe Java versions for the moment - lz4-java v2?
  3. (Remove LZ4FastDecompressor - lz4-java v3?)

odaira avatar Jun 04 '21 21:06 odaira