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

Investigate rewriting the resolver algorithm to use loops instead of recursion

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • resolver-1.6.0
    • Resolver
    • None

    Description

      The resolver algorithm for Candidates#populate currently uses a recursive algorithm.
      At first glance, the number of recursion can amount to the number of resources to resolve. This limits the size of the resolution.

      I'd like to investigate replacing the recursion with a loop.

      This may also allow using a fork/join design to leverage multiple cores for the resolution. The fork/join could also be used for the main resolution loop.
      It may make things slightly harder to keep the reproducibility of the algorithm if things are not always considered in the same order. Though there may be some way around.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              gnodet Guillaume Nodet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: