On 9/23/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote:

<snip>

> robert burrell donkin-2 wrote:
> >
> > it's direct use of byte arrays which worried me. how do you propose to
> > handle memory mapped files without double buffering?
> >
>
> I have to admit that I do not know about memory mapped files and why they
> should be relevant. I'll be reading on that.

the disadvantage with using a byte array rather than a bytebuffer is
that direct bytebuffers would have to copy their data out into a byte
array.  using a byte buffer at the lowest level would solve this issue
without really an added overhead for the bio case (just create a byte
array backed buffer and then fill that buffer from the inputstream).

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to