Hacker News new | ask | show | jobs
by pestatije 2032 days ago
Try to do a flip and see what happens. Or copy your array to a file, or to a native library. I've never thought of buffers as a replacement for arrays, and I don't think they were ever ment to be. The take away from the comparison is basically to do what we were doing already: use native arrays unless doing so with buffers simplifies your code.