Poor Performance of Java's unzip utilities

后端 未结 3 2138
Happy的楠姐
Happy的楠姐 2021-02-09 02:07

I have noticed that the unzip facility in Java is extremely slow compared to using a native tool such as WinZip.

Is there a third party library available for Java that i

3条回答
  •  甜味超标
    2021-02-09 02:58

    Make sure you are feeding the unzip method a BufferedInputStream in your Java application. If you have made the mistake of using an unbuffered input stream your IO performance is guaranteed to suck.

提交回复
热议问题