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 32375186C5 for ; Wed, 29 Jul 2015 18:16:05 +0000 (UTC) Received: (qmail 94981 invoked by uid 500); 29 Jul 2015 18:16:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 94946 invoked by uid 500); 29 Jul 2015 18:16: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 94834 invoked by uid 99); 29 Jul 2015 18:16:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 18:16:04 +0000 Date: Wed, 29 Jul 2015 18:16:04 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-9925) Sorted + Unique BTree.Builder usage can use a thread-local TreeBuilder directly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Benedict created CASSANDRA-9925: ----------------------------------- Summary: Sorted + Unique BTree.Builder usage can use a thread-local TreeBuilder directly Key: CASSANDRA-9925 URL: https://issues.apache.org/jira/browse/CASSANDRA-9925 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Benedict Assignee: Benedict Priority: Minor Fix For: 3.0.x There are now a number of situations where we use a BTree.Builder that could be made to go directly to the TreeBuilder, since they only perform in-order unique additions to build an initial tree. This would potentially avoid a number of array allocations/copies. -- This message was sent by Atlassian JIRA (v6.3.4#6332)