You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/02/28 09:00:38 UTC

[jira] Commented: (CASSANDRA-2075) Eliminate excess comparator creation

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

Sylvain Lebresne commented on CASSANDRA-2075:
---------------------------------------------

+1
(minor point: can't we remove AbstractType.getReverseComparator() altogether instead of deprecating it ?)

> Eliminate excess comparator creation
> ------------------------------------
>
>                 Key: CASSANDRA-2075
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2075
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Stu Hood
>            Assignee: Jonathan Ellis
>            Priority: Minor
>              Labels: abstract_types, gc
>             Fix For: 0.7.4
>
>         Attachments: 2075.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Despite the singleton status of each AbstractType, we end up creating at least one new comparator per query. By making more of the "wrapper" comparators that exist in the codebase members of AbstractType, we could cut down on the "new Comparator" spam.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira