Buffered vs non buffered, which one to use?

前端 未结 5 559
醉酒成梦
醉酒成梦 2021-02-05 19:58

I am sorry if this is a duplicate but I was not able to find a definitive answer to what is the best practice for each type.

I would like to know what the appropriate co

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 20:40

    The only time you should use unbuffered I/O is when the delay and aggregation imposed by buffering is inappropriate to your application.

提交回复
热议问题