You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jin Xu (Jira)" <ji...@apache.org> on 2020/06/07 11:01:00 UTC

[jira] [Comment Edited] (MATH-1538) refine some codes dealing with filling an array with its first and second elements.

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

Jin Xu edited comment on MATH-1538 at 6/7/20, 11:00 AM:
--------------------------------------------------------

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

Though if you can find some codes which like a realistic use-case, I'm willing to do the performance benchmark.

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

 


was (Author: xenoamess):
>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)