Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
Frotty committed Jul 21, 2018
1 parent b114b21 commit 82eb3be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ZopfliHelper {
private final Zopfli compressor;

public ZopfliHelper() {
compressor = new Zopfli(50 * 1024 * 1024);
compressor = new Zopfli(8 * 1024 * 1024);
}

public byte[] deflate(byte[] bytes, int iterations) {
Expand Down
1 change: 1 addition & 0 deletions src/test/java/systems/crigges/jmpq3test/MpqTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public void testRecompressBuild() throws IOException {
log.info(mpq.getName());
JMpqEditor mpqEditor = new JMpqEditor(mpq, MPQOpenOption.FORCE_V0);
long length = mpq.length();
options.useZopfli = !options.useZopfli;
mpqEditor.close(true, true, options);
long newlength = mpq.length();
System.out.println("Size win: " + (length - newlength));
Expand Down

0 comments on commit 82eb3be

Please sign in to comment.