Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1072

AbstractListChromosome should support a constructor that does not copy

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Labels:
      None

      Description

      AbstractListChromosome always copies the input arguments to a new list in its constructor. At the same time, subclasses implementing newFixedLengthChromosome() create a new instance with a new list, thus the list has to be created twice, which is inefficient.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tn Thomas Neidhart
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: