Re:Java Buffer types versus native arrays: which is faster?
by pestatije on Tuesday December 01, 2020 @12:24AM
(#25262612)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.