优化代码,性能暴涨

This commit is contained in:
Administrator
2025-01-29 14:01:11 +08:00
parent e243203535
commit 6de65562be
130 changed files with 9138 additions and 1020 deletions
@@ -7,6 +7,8 @@ import java.util.UUID;
import org.kne.io.Task;
public class StreamBridge extends Task{
private static final boolean debug =false;
protected InputStream in;
protected OutputStream out;
protected int blocksize=65535;
@@ -41,6 +43,7 @@ public class StreamBridge extends Task{
}
}
} catch (IOException e) {
if(debug)
e.printStackTrace();
}finally {
/*if(fos!=null)