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 5DC9D1016C for ; Mon, 28 Apr 2014 19:06:51 +0000 (UTC) Received: (qmail 54502 invoked by uid 500); 28 Apr 2014 19:06:44 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 54363 invoked by uid 500); 28 Apr 2014 19:06:40 -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 54153 invoked by uid 99); 28 Apr 2014 19:06:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2014 19:06:35 +0000 Date: Mon, 28 Apr 2014 19:06:35 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-2039) Authorizations.getAuthorizationsBB is inefficient 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/ACCUMULO-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Tubbs updated ACCUMULO-2039: ---------------------------------------- Affects Version/s: (was: 1.6.0) > Authorizations.getAuthorizationsBB is inefficient > ------------------------------------------------- > > Key: ACCUMULO-2039 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2039 > Project: Accumulo > Issue Type: Improvement > Reporter: Bill Havanki > Assignee: Vikram Srivastava > Priority: Trivial > Labels: PatchAvailable > Fix For: 1.6.0 > > Attachments: ACCUMULO-2039.v1.patch.txt > > > Authorizations.getAuthorizations was reworked for 1.6.0 to build an immutable list of copies of contained authorizations. The Authorizations.getAuthorizationsBB method then takes that list and makes another immutable list of copies. The latter method could be made much more efficient by eliminating the extra copies and (possibly) list construction. -- This message was sent by Atlassian JIRA (v6.2#6252)