Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 8078 invoked from network); 27 Jan 2011 09:06:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2011 09:06:07 -0000 Received: (qmail 32495 invoked by uid 500); 27 Jan 2011 09:06:07 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 32316 invoked by uid 500); 27 Jan 2011 09:06:05 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 32294 invoked by uid 99); 27 Jan 2011 09:06:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 09:06:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 09:06:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0R95hMq022753 for ; Thu, 27 Jan 2011 09:05:43 GMT Message-ID: <33425422.234871296119143710.JavaMail.jira@thor> Date: Thu, 27 Jan 2011 04:05:43 -0500 (EST) From: "Stu Hood (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-2062) Use more efficient merge algorithm In-Reply-To: <18812680.234851296119023726.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.