felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-2136) Improve OBR speed
Date Thu, 25 Feb 2010 13:39:27 GMT

     [ 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.


Mime
View raw message