lz4 / lz4-java

LZ4 compression for Java
Apache License 2.0
1.09k stars 248 forks source link

Roadmap to remove LZ4FastDecompressor #178

Open odaira opened 3 years ago

odaira commented 3 years ago

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?)