blake-hu opened a new issue, #2000: URL: https://github.com/apache/iggy/issues/2000
https://github.com/apache/iggy/blob/9758c90c2a1a587e3e7831142ccf9ed154c0a336/core/bench/src/analytics/time_series/processors/moving_average.rs#L44-L55 Currently, the MovingAverageProcessor recomputes the sum of the entire sliding window whenever a new timepoint is added. A more efficient approach would be to cache the current sum and only add or subtract to it when timepoints enter or leave the window. Should be a quick fix, I'll put up a PR for this soon. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
