Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 38739 invoked from network); 25 Feb 2010 13:39:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 13:39:48 -0000 Received: (qmail 72095 invoked by uid 500); 25 Feb 2010 13:39:48 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 72045 invoked by uid 500); 25 Feb 2010 13:39:48 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 72033 invoked by uid 99); 25 Feb 2010 13:39:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 13:39:48 +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, 25 Feb 2010 13:39:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D4519234C045 for ; Thu, 25 Feb 2010 05:39:27 -0800 (PST) Message-ID: <10141048.524161267105167854.JavaMail.jira@brutus.apache.org> Date: Thu, 25 Feb 2010 13:39:27 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: dev@felix.apache.org Subject: [jira] Resolved: (FELIX-2136) Improve OBR speed In-Reply-To: <933242745.524031267104207946.JavaMail.jira@brutus.apache.org> 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/FELIX-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet resolved FELIX-2136. ------------------------------------ Resolution: Fixed Committing to https://svn.apache.org/repos/asf/felix/trunk ... M bundlerepository/src/main/java/org/apache/felix/bundlerepository/CapabilityImpl.java M bundlerepository/src/main/java/org/apache/felix/bundlerepository/FilterImpl.java M bundlerepository/src/main/java/org/apache/felix/bundlerepository/RepositoryImpl.java M bundlerepository/src/main/java/org/apache/felix/bundlerepository/RequirementImpl.java M bundlerepository/src/main/java/org/apache/felix/bundlerepository/ResourceImpl.java Committed r916284 a few further optimisations to improve OBR speeed.\ - insertion of a resource in the repository does not create a full copy of the array + sorting, this is now done lazily - avoid case insensitive filters and maps (those string comparisons are really costly) - caches the Resource hash code - use interned strings for capabilities / requirements namespaces > Improve OBR speed > ----------------- > > Key: FELIX-2136 > URL: https://issues.apache.org/jira/browse/FELIX-2136 > Project: Felix > Issue Type: Bug > Components: Bundle Repository (OBR) > Reporter: Guillaume Nodet > Assignee: Guillaume Nodet > Fix For: bundlerepository-1.6.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.