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

Otmar Ertl updated MATH-990:
----------------------------
    Attachment: patch

The performance can be further improved while still using Collections.sort by 
avoiding the generic Pair class (see attached patch). A reduction of costs by a 
factor of 0.8 was observed in case of 2 parallel arrays.

> Improve performance of MathArrays.sortInPlace
> ---------------------------------------------
>
>                 Key: MATH-990
>                 URL: https://issues.apache.org/jira/browse/MATH-990
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.2
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>              Labels: benchmark
>             Fix For: 4.0
>
>         Attachments: patch
>
>
> Performance suffers from lots of copying.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to