Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 92798 invoked from network); 10 Sep 2009 09:02:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 09:02:21 -0000 Received: (qmail 17735 invoked by uid 500); 10 Sep 2009 09:02:20 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 17654 invoked by uid 500); 10 Sep 2009 09:02:20 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 17640 invoked by uid 99); 10 Sep 2009 09:02:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 09:02:20 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 09:02:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F3900234C1EF for ; Thu, 10 Sep 2009 02:01:57 -0700 (PDT) Message-ID: <1026178810.1252573317996.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 02:01:57 -0700 (PDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1988) AbstractRecord does inefficient List.indexOf() In-Reply-To: <793045768.1235041921856.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-1988: ---------------------------------- Fix Version/s: 1.5.8 > AbstractRecord does inefficient List.indexOf() > ---------------------------------------------- > > Key: JCR-1988 > URL: https://issues.apache.org/jira/browse/JCR-1988 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Marcel Reutegger > Priority: Minor > Fix For: core 1.4.10, 1.5.8, 1.6.0 > > Attachments: JCR-1988.patch > > > AbstractRecord keeps a list of already used UUIDs and references > them by index when used again in a record. Using a List does not > scale well, when the record grows larger. e.g. a transaction of > 10k nodes takes more than a minute on my machine when the journal > is enabled. Most of the time is spent doing List.indexOf() in > AbstractRecord.getOrCreateIndex(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.