Commons Math
  1. Commons Math
  2. MATH-1072

AbstractListChromosome should support a constructor that does not copy

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development