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

Percentile calculation is very slow when input data are constants

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0
    • 3.1
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: