You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/12/09 15:40:08 UTC
[jira] [Updated] (MATH-1072) AbstractListChromosome should support
a constructor that does not copy
[ https://issues.apache.org/jira/browse/MATH-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart updated MATH-1072:
----------------------------------
Priority: Minor (was: Major)
> 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
>
> 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.4#6159)