Monday, 5 June 2017

Why use Buffer instead of array in nodeJS?

I have been reading about the Node 8.0 Buffer changes, and came across the questions:

  1. What is the advantage of Buffers in terms of performance?
  2. Why not use TypedArray, now that it is natively supported?

P.S. I know that this question is very broad scoped, but it's something which will help me decide whether or not to use Buffers in my application



via Aditya Singh

No comments:

Post a Comment