Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-23989

Provide an efficient function for summing stats in tight loops

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10.0
    • Component/s: JLib
    • Labels:
      None

      Description

      The current mergeStatistic function has a higher overhead than simply incrementing an atomic variable.  It would be useful to provide a minimal overhead verison that can be used when summing counts e.g. when tallying hits/misses for key elements where efficiency may be a concern.

       

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: