Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • J JZCaPA
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Riccardo Longo
  • JZCaPA
  • Merge requests
  • !3

Optimize GetDifferential function using two sliding windows

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged shengy3 requested to merge shengy3-master-patch-92248 into master Nov 14, 2021
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: shengy3-master-patch-92248