Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2832

Average: make more efficient

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 5.4
    • None
    • None
    • False
    • None
    • False

      Average uses Util.productGreaterThan() to check for Long overflow, plus a costly multiplication.
      Use a sliding window of a given capacity. Add new values until the capacity has been exceeded, the overwrite old values, wrappig around.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: