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

Jin Xu commented on MATH-1538:
------------------------------

>Did you benchmark this with a realistic use-case (i.e. within the class where 
>this change is proposed)?

Not yet, but I don't think different use-case can affect this.

>any performance gain would be quite small

Yes, it is small. only 7% on my last test. and would be even smaller when array 
size get smaller.

 

> refine some codes dealing with filling an array with its first and second 
> elements.
> -----------------------------------------------------------------------------------
>
>                 Key: MATH-1538
>                 URL: https://issues.apache.org/jira/browse/MATH-1538
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Jin Xu
>            Priority: Minor
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> [https://github.com/apache/commons-math/pull/144]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to