Usage of BufferedInputStream

前端 未结 5 1918
误落风尘
误落风尘 2020-12-07 23:03

Let me preface this post with a single caution. I am a total beginner when it comes to Java. I have been programming PHP on and off for a while, but I was ready to make a

5条回答
  •  盖世英雄少女心
    2020-12-07 23:28

    I can't speak to the profiling, but from my experience developing Java applications I find that using any of the buffer classes - BufferedInputStream, StringBuffer - my applications are exceptionally faster. Because of which, I use them even for the smallest files or string operation.

提交回复
热议问题