From c_lilian CanvasPeerImpl.java JSR-231 class,
What’s the point to use arrays ? Is it possible to switch ? Will it have a small/big good/bad impact on performances ?
From c_lilian CanvasPeerImpl.java JSR-231 class,
What’s the point to use arrays ? Is it possible to switch ? Will it have a small/big good/bad impact on performances ?
I’d like to add that on my game which uses the JSR231 peers, there seems to be a memory leak on the native side that I haven’t yet spotted.
Once I get back to it, I’ll try and post some updates of these jsr231 classes, to avoid allocating many small buffers (interleaved with larger buffers, they could be the cause o the leak).
So there might be a performance gain to use buffers , but also harder bugs to find…
my 2cents
Lilian