[ https://issues.apache.org/jira/browse/CASSANDRA-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
T Jake Luciani updated CASSANDRA-6755: -------------------------------------- Attachment: 6755.txt The attached patch bumps performance 15% for offheap_objects. Still slower than offheap_buffers for me though. I refactored FastByteOperations compareTo quite a bit. I found that I had to increase the MaxInlineSize to get the JVM to inline it. > 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 > > > 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)