Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5254

Improve structure of permutations to use unmodifiable capability lists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • resolver-1.8.0
    • None
    • Resolver
    • None
    • All

    Description

      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.

      Attachments

        Activity

          People

            tjwatson Tom Watson
            tjwatson Tom Watson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: