cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2075) Eliminate excess comparator creation
Date Mon, 28 Feb 2011 08:00:38 GMT

    [ 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

        

Mime
View raw message