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/03/21 23:01:15 UTC

[jira] [Resolved] (MATH-952) Array2DRowMatrix#copySubMatrix could be improved for performance

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

Thomas Neidhart resolved MATH-952.
----------------------------------

    Resolution: Not A Problem

Not really a problem. Array2DRowRealMatrix should only be used for small (64x64) matrices, thus the benefit of System.arraycopy is not as big as first imagined.
                
> Array2DRowMatrix#copySubMatrix could be improved for performance
> ----------------------------------------------------------------
>
>                 Key: MATH-952
>                 URL: https://issues.apache.org/jira/browse/MATH-952
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Thomas Neidhart
>            Priority: Minor
>
> Currently, the 2 copySubMatrix methods are inherited from AbstractRealMatrix where the copy is done element by element. In the case of an Array2DRowMatrix this can be significantly improved by using System.arraycopy similar as the setSubMatrix method already does.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira