mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-21 03:58:05 +07:00
absolutely incredible performance improvements
This commit is contained in:
parent
f52c4964b3
commit
9c29b982dd
@ -111,7 +111,14 @@ public class SaveIO{
|
||||
}
|
||||
|
||||
public static void write(FileHandle file){
|
||||
write(new DeflaterOutputStream(file.write(false)));
|
||||
write(new DeflaterOutputStream(file.write(false)){
|
||||
byte[] tmp = {0};
|
||||
|
||||
public void write(int var1) throws IOException {
|
||||
tmp[0] = (byte)(var1 & 255);
|
||||
this.write(tmp, 0, 1);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void write(OutputStream os){
|
||||
|
Loading…
Reference in New Issue
Block a user