NIO Performance Improvement compared to traditional IO in Java

后端 未结 10 826
梦谈多话
梦谈多话 2020-12-04 16:13

I have seen many articles/blogs saying that Java NIO is a better solution compared to traditional Java IO.

But today one of my co-worker showed me this blog http://m

10条回答
  •  温柔的废话
    2020-12-04 16:29

    Also, AFAIK, Java IO was rewritten to use NIO under-the-covers (and NIO has more functionality). Microbenchmarks are just a bad idea, particularly when they're old, as lavinio states.

提交回复
热议问题