You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/02/25 14:39:27 UTC

[jira] Resolved: (FELIX-2136) Improve OBR speed

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