You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2018/04/13 21:47:00 UTC

[jira] [Created] (FELIX-5829) Improve index lookup for caps/reqs and delete ImmutableMap/List

Karl Pauls created FELIX-5829:
---------------------------------

             Summary: Improve index lookup for caps/reqs and delete ImmutableMap/List
                 Key: FELIX-5829
                 URL: https://issues.apache.org/jira/browse/FELIX-5829
             Project: Felix
          Issue Type: Improvement
          Components: Framework
    Affects Versions: framework-5.6.10
            Reporter: Karl Pauls
            Assignee: Karl Pauls
             Fix For: framework-6.0.0


The ImmutableMap/List we have right now is not really doing a good job in lookups (as it is linear) - I think we should finally remove it and just use normal maps/lists wrapped inside unmodifiable instead. 

Furthermore, we right now do iterate over caps/reqs a lot in order to find the ones inside a given namespace. We should look into using indexes for that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)