Replace fast compressor with high compressor in buffered linear format
Shiroha CI / build (push) Canceled after 0s
Shiroha CI / Event File (push) Canceled after 0s

This commit is contained in:
2026-08-03 20:01:42 +08:00
parent fdaabedb7e
commit aa6be50f5b
@@ -81,7 +81,7 @@ public class BufferedLinearRegionFile implements io.nanachiyo0721.shiroha.data.R
private static final int SECTOR_META_SIZE = Integer.BYTES + Long.BYTES + Integer.BYTES; private static final int SECTOR_META_SIZE = Integer.BYTES + Long.BYTES + Integer.BYTES;
// all three are stateless and thread-safe // all three are stateless and thread-safe
private static final LZ4Compressor LZ4_COMPRESSOR = LZ4Factory.fastestInstance().fastCompressor(); private static final LZ4Compressor LZ4_COMPRESSOR = LZ4Factory.fastestInstance().highCompressor();
private static final LZ4FastDecompressor LZ4_DECOMPRESSOR = LZ4Factory.fastestInstance().fastDecompressor(); private static final LZ4FastDecompressor LZ4_DECOMPRESSOR = LZ4Factory.fastestInstance().fastDecompressor();
private static final XXHash32 XX_HASH_32 = XXHashFactory.fastestInstance().hash32(); private static final XXHash32 XX_HASH_32 = XXHashFactory.fastestInstance().hash32();