buffer
buffer copied to clipboard
Avoid augmenting subarrays post-ES2016
trafficstars
Not sure whether this helps performance, but subarrays only need augmenting pre-ES2016. Might be good to avoid it if we can.
The code detects whether TypedArray#subarray calls the child class' constructor (a la ES2016) at the end of the file -- once the Buffer prototype is completely setup.