Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C905AF5DA for ; Wed, 17 Apr 2013 23:19:20 +0000 (UTC) Received: (qmail 4348 invoked by uid 500); 17 Apr 2013 23:19:19 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 4304 invoked by uid 500); 17 Apr 2013 23:19:19 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 4245 invoked by uid 99); 17 Apr 2013 23:19:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 23:19:19 +0000 Date: Wed, 17 Apr 2013 23:19:19 +0000 (UTC) From: "John Vines (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ACCUMULO-1309) IntersectingIterator.addSource has unecessary object creation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 John Vines created ACCUMULO-1309: ------------------------------------ Summary: IntersectingIterator.addSource has unecessary object creation Key: ACCUMULO-1309 URL: https://issues.apache.org/jira/browse/ACCUMULO-1309 Project: Accumulo Issue Type: Improvement Components: client Reporter: John Vines Assignee: Billie Rinaldi Taken from TODOs- II uses a static array for holding sources and resizes +1 each time it fills. It would be better off as a List or something along those lines to prevent a lot of unnecessary object creation. Additionally, every time is does migrate to a new static array, it creates a new copy of the contained objects. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira