cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-6941) Optimized CF.hasColumns() implementation
Date Thu, 27 Mar 2014 16:15:16 GMT
Aleksey Yeschenko created CASSANDRA-6941:

             Summary: Optimized CF.hasColumns() implementation
                 Key: CASSANDRA-6941
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Benedict
            Assignee: Aleksey Yeschenko
            Priority: Minor
             Fix For: 2.1 beta3

Half the time we call ColumnFamily#getColumnCount() we do it to compare the result to 0. For
both AtomicBTreeColumns and ArrayBackedSortedColumns we can implement optimized hasColumns()
method, that would avoid some overhead for the former and pre-sorting for the latter.

This message was sent by Atlassian JIRA

View raw message