On Feb 22, 4:58 am, Bill Robertson <[email protected]> wrote:
> All it does is copy from one buffer to the other?  Have you compared
> the performance against System.arraycopy()?
The array indices are rearranged during the copy so I can't just use a
straight copy.

On Feb 20, 5:15 am, Rémi Forax <[email protected]> wrote:
> I don't know if there is another method but you can improve the
> following code,
> remove the two asInBuffer() because they allocate a new Java object
> and use getInt()/putInt() instead of get()/put().
I take the point and I think this will give me a little boost. I'll
post the
profile soon.

Thanks all.

John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to