[
https://issues.apache.org/jira/browse/MATH-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414511#comment-13414511
]
Thomas Neidhart commented on MATH-805:
--------------------------------------
Hi Benoit,
could you please provide a (simple) test case to demonstrate the behaviour you
describe?
Thanks,
Thomas
> Percentile calculation is very slow when input data are constants
> -----------------------------------------------------------------
>
> Key: MATH-805
> URL: https://issues.apache.org/jira/browse/MATH-805
> Project: Commons Math
> Issue Type: Improvement
> Affects Versions: 3.0
> Reporter: Benoit de Rancourt
> Priority: Minor
> Labels: performance, test
>
> I use the Percentile class to calculate quantile on a big array (10^6
> entries). When I have to test the performance of my code, I notice that the
> calculation of quantile is at least 100x slower when my data are constants
> (10^6 of the same nomber). Maybe the Percentile calculation can be improved
> for this special case.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira