[
https://issues.apache.org/jira/browse/FELIX-5254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Watson closed FELIX-5254.
--------------------------------
> Improve structure of permutations to use unmodifiable capability lists
> ----------------------------------------------------------------------
>
> Key: FELIX-5254
> URL: https://issues.apache.org/jira/browse/FELIX-5254
> Project: Felix
> Issue Type: Bug
> Components: Resolver
> Affects Versions: resolver-1.8.0
> Environment: All
> Reporter: Thomas Watson
> Assignee: Thomas Watson
>
> As discussed on the felix dev mailing list:
> Implement a capability selection collection that
> points to a constant list of capabilities and has an index to the currently
> selected candidate for that permutation. That way there is no copying of
> the constant list, instead we have a super lightweight collection that
> points to the unmodifiable list of capabilities and just has an index.
> Changing a Permutation would only involve incrementing that index instead
> of removing from a copy on write list. We can then get rid of duplicate
> capability lists since the list is unmodifiable it can be shared with
> multiple selection index lists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)