You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2012/07/22 17:02:34 UTC
[jira] [Resolved] (MATH-805) Percentile calculation is very slow
when input data are constants
[ https://issues.apache.org/jira/browse/MATH-805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart resolved MATH-805.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.1
Fixed in r1364318.
> 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
> Assignee: Thomas Neidhart
> Priority: Minor
> Labels: performance, test
> Fix For: 3.1
>
>
> 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