[
https://issues.apache.org/jira/browse/CASSANDRA-1714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928787#action_12928787
]
Jonathan Ellis commented on CASSANDRA-1714:
-------------------------------------------
that's one approach (when the method knows how to take a ByteBuffer object),
the other is replacing with get(i) like I did for the compareUnsigned
> zero-copy reads
> ---------------
>
> Key: CASSANDRA-1714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1714
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Jonathan Ellis
> Fix For: 0.7.1
>
> Attachments: zerocopy.txt
>
>
> Since we are already using mmap'd ByteBuffers in MappedFileDataInput we
> should be able to do zero-copy reads (via buffer.slice()), which would give
> us better performance than CASSANDRA-1651 without having to worry about
> buffer management.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.