Try changing LZMA preset from 4 -> 3 (faster, less compressed)
This commit is contained in:
+2
-2
@@ -68,8 +68,8 @@ public class DhDataOutputStream extends DataOutputStream
|
||||
ResettableArrayCache arrayCache = LZMA_RESETTABLE_ARRAY_CACHE_GETTER.get();
|
||||
arrayCache.reset();
|
||||
// Note: if the LZMA2Options are changed the array cache may need to be re-tested.
|
||||
// the array cache was specifically tested and tuned for LZMA preset 4
|
||||
return new XZOutputStream(stream, new LZMA2Options(4),
|
||||
// the array cache was specifically tested and tuned for LZMA preset 3/4
|
||||
return new XZOutputStream(stream, new LZMA2Options(3),
|
||||
XZ.CHECK_CRC64, arrayCache);
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user