commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otmar Ertl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MATH-990) Improve performance of MathArrays.sortInPlace
Date Fri, 21 Nov 2014 22:04:34 GMT

     [ 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)

Mime
View raw message