You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2011/01/31 08:53:11 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=12988680#comment-12988680 ] 

Stu Hood commented on CASSANDRA-2075:
-------------------------------------

Main culprits are IFilter.getColumnComparator() and the reversed comparator created in SliceQueryFilter.

> Eliminate excess comparator creation
> ------------------------------------
>
>                 Key: CASSANDRA-2075
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2075
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Stu Hood
>            Priority: Minor
>              Labels: abstract_types, gc
>
> 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