[ https://issues.apache.org/jira/browse/CASSANDRA-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stu Hood updated CASSANDRA-2062: -------------------------------- Attachment: 0003-Replace-Collating-with-Merge-in-CompactionIterator.txt 0002-Quickie-instrumentation-for-comparisons.txt 0001-Improved-iterator-for-merging-sorted-iterators.txt > Use more efficient merge algorithm > ---------------------------------- > > Key: CASSANDRA-2062 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2062 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Stu Hood > Priority: Minor > Fix For: 0.7.2 > > Attachments: 0001-Improved-iterator-for-merging-sorted-iterators.txt, > 0002-Quickie-instrumentation-for-comparisons.txt, > 0003-Replace-Collating-with-Merge-in-CompactionIterator.txt > > > For {{M}} iterators containing {{N}} total items, > commons.collections.CollatingIterator performs a {{O(M*N)}} merge, and calls > hasNext multiple times per returned value. We can do better. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.