enable unsafe optimization in lzf for 0.19
This commit is contained in:
parent
03c2e5ea52
commit
ac2c2fb48d
|
@ -28,8 +28,8 @@ public class ChunkDecoderFactory {
|
||||||
if (impl == null) {
|
if (impl == null) {
|
||||||
impl = VanillaChunkDecoder.class;
|
impl = VanillaChunkDecoder.class;
|
||||||
}
|
}
|
||||||
// ES: Because of this: https://github.com/ning/compress/issues/13, disable the optimized by default
|
// ES: Seems like: https://github.com/ning/compress/issues/13, is fixed, so enable by defualt, but only from 0.19
|
||||||
if (!Booleans.parseBoolean(System.getProperty("compress.lzf.decoder.optimized"), false)) {
|
if (!Booleans.parseBoolean(System.getProperty("compress.lzf.decoder.optimized"), true)) {
|
||||||
impl = VanillaChunkDecoder.class;
|
impl = VanillaChunkDecoder.class;
|
||||||
}
|
}
|
||||||
_instance = new ChunkDecoderFactory(impl);
|
_instance = new ChunkDecoderFactory(impl);
|
||||||
|
|
Loading…
Reference in New Issue