Increased sectors cache to 16384 offsets (67 MB)

Should research keeping a ByteBuf copy of offsets
This commit is contained in:
Collin Smith 2020-09-23 01:55:28 -07:00
parent e1252e172c
commit 6f40094f73

View File

@ -31,7 +31,7 @@ public class MPQInputStream extends InputStream {
private static final int COMPRESSED_OR_IMPLODE = FLAG_COMPRESSED | FLAG_IMPLODE;
private static final int MAX_SECTORS = 64;
private static final int MAX_SECTORS = 16384;
private static final Pool<int[]> INTS = new Pool<int[]>(8, 32, true) {
@Override
protected int[] newObject() {