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

Jonathan Ellis commented on CASSANDRA-420:
------------------------------------------

Can you extend this to support the other partitioners as well?

Probably the easiest way is to make DK a (Token decoration, String key) tuple, 
since the different Token subclasses already wrap the different decorations 
(BigInteger, byte[]).  May or may not be worth special-casing OPP (whose 
StringToken is just a wrapper around the key in question) to have null 
decoration.

> Improve performance of BinaryMemtable sort phase
> ------------------------------------------------
>
>                 Key: CASSANDRA-420
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-420
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.5
>            Reporter: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: CASSANDRA-420.patch
>
>
> The BinaryMemtable sorts an array of decorated keys. There are a lot of 
> string operations and object allocation in the comparator that could be 
> avoided to improve performance..

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to