Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 01CD4108C0 for ; Thu, 3 Oct 2013 01:24:43 +0000 (UTC) Received: (qmail 38678 invoked by uid 500); 3 Oct 2013 01:24:42 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 38642 invoked by uid 500); 3 Oct 2013 01:24:42 -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 38578 invoked by uid 99); 3 Oct 2013 01:24:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 01:24:42 +0000 Date: Thu, 3 Oct 2013 01:24:42 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6138) simplify/readability of SizeTieredCompactionStrategy.mostInterestingBucket and eliminate some allocaitons 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-6138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784728#comment-13784728 ] Jonathan Ellis commented on CASSANDRA-6138: ------------------------------------------- +1 > simplify/readability of SizeTieredCompactionStrategy.mostInterestingBucket and eliminate some allocaitons > --------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-6138 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6138 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Dave Brosius > Assignee: Dave Brosius > Priority: Trivial > Fix For: 2.1 > > Attachments: 6138.txt > > > pull out the comparators so you can see whats going on in the method... also stops allocating comparators over and over. -- This message was sent by Atlassian JIRA (v6.1#6144)