News for hackers. Stuff that matters.
Re:Java Buffer types versus native arrays: which is faster? by jariel on Monday November 30, 2020 @03:46PM (#25258756)
As with everything, it depends.

Buffers I believe were created for doing IO operations, wherein you need to move chunks of things around, wherein the underlying net stack needs to fill, flip, copy etc..

If you're building a video compression library with native components, then Buffers are probably going to help.

If you're living purely in Javaland memory managed space, then it's entirely another question, but know that in the vast majority of cases it won't matter.

There are no comments on this comment yet.