[ https://issues.apache.org/jira/browse/CASSANDRA-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041180#comment-14041180 ]
Benedict commented on CASSANDRA-6755: ------------------------------------- Yes, unfortunately I just can't get it quite as fast; I think this is most likely down to an increase in virtual invocation costs, as the introduction of the parallel NativeCell tree breaks the VM's opportunities for fast-pathing everything. Although I haven't had the time to truly test the hypothesis, there aren't many other possibilities. I'll give [~slebresne] a 24hr opportunity to veto the simple cell comparison changes if he wants to before committing with your nits. > Optimise CellName/Composite comparisons for NativeCell > ------------------------------------------------------ > > Key: CASSANDRA-6755 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6755 > Project: Cassandra > Issue Type: Improvement > Reporter: Benedict > Assignee: T Jake Luciani > Priority: Minor > Labels: performance > Fix For: 2.1.1 > > Attachments: 6755.txt, 6755v2.txt > > > As discussed in CASSANDRA-6694, to reduce temporary garbage generation we > should minimise the incidence of CellName component extraction. The biggest > win will be to perform comparisons on Cell where possible, instead of > CellName, so that Native*Cell can use its extra information to avoid creating > any ByteBuffer objects -- This message was sent by Atlassian JIRA (v6.2#6252)