On Saturday February 28 2009, Philip Jenvey wrote:
> On Feb 25, 2009, at 8:40 AM, byhisdeeds wrote:
> > ...
> >
> > I take the point and I think this will give me a little boost. I'll
> > post the profile soon.
>
> Bill's reply allured to this -- if the ByteBuffers hasArray(), you
> can access the underlying backing arrays via array().
>
> Directly accessing the arrays avoids the bounds checking of get/put.
> ...

The JVM still does array bounds checks, of course.


> --
> Philip Jenvey


Randall Schulz

--~--~---------~--~----~------------~-------~--~----~
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