Skip to content

Optimize GetDifferential function using two sliding windows

shengy3 requested to merge shengy3-master-patch-92248 into master

Re-write the GetDifferential using two sliding windows, sum_before and sum_after. The efficiency should be improved from O(N^2) to O(N). Here are the test results:

The original results: RPDwfDiffPlot_ev0 The updated results: RPDwfDiffPlot_ev0

Merge request reports

Loading