commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MATH-1072) AbstractListChromosome should support a constructor that does not copy
Date Sun, 26 Jan 2014 15:48:37 GMT

     [ https://issues.apache.org/jira/browse/MATH-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Neidhart resolved MATH-1072.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3

Added in r1561508.

> AbstractListChromosome should support a constructor that does not copy
> ----------------------------------------------------------------------
>
>                 Key: MATH-1072
>                 URL: https://issues.apache.org/jira/browse/MATH-1072
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Thomas Neidhart
>            Priority: Minor
>             Fix For: 3.3
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message