mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-24 21:48:46 +07:00
Increased sectors cache to 16384 offsets (67 MB)
Should research keeping a ByteBuf copy of offsets
This commit is contained in:
parent
e1252e172c
commit
6f40094f73
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user