Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-805

Percentile calculation is very slow when input data are constants

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tn Thomas Neidhart
                Reporter:
                teraben Benoit de Rancourt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: