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

        Hide
        Thomas Neidhart added a comment -

        Added in r1561508.

        Show
        Thomas Neidhart added a comment - Added in r1561508.
        Hide
        Luc Maisonobe added a comment -

        Closing all resolved issue now available in released 3.3 version.

        Show
        Luc Maisonobe added a comment - Closing all resolved issue now available in released 3.3 version.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development