[ 
https://issues.apache.org/jira/browse/MATH-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675934#comment-13675934
 ] 

Gilles commented on MATH-990:
-----------------------------

New implementation committed in revision 1489871.

The larger the number of arrays to be sorted "in parallel", the more the 
performance would suffer in the previous implementation.
Benchmark for arrays containing 200 elements:
{noformat}
Number of arrays to be |      Time ratio
 sorted "in parallel"  | New impl. / Old impl.
-----------------------+-----------------------
             10        |         0.89
            100        |         0.56
{noformat}

                
> 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
>
>
> Performance suffers from lots of copying.

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

Reply via email to