cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6755) Optimise CellName/Composite comparisons for NativeCell
Date Tue, 03 Jun 2014 17:02:01 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14016875#comment-14016875
] 

Benedict commented on CASSANDRA-6755:
-------------------------------------

But we already have offheap comparators? FastByteOperations does this

> 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.0
>
>
> 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)

Mime
View raw message