Skip to content

Rework consecutive-segments-merge - #1025

Merged
Josef-Haupt merged 1 commit into
mainfrom
rework-merge
Oct 25, 2026
Merged

Josef-Haupt merged 1 commit into
mainfrom
rework-merge

Conversation

@Josef-Haupt

Copy link
Copy Markdown
Member

Vectorised merging of consecutive detections.

  • _merge_consecutive_segments computes runs and windows in numpy instead of a row loop; about 50x faster on large result sets (60,000 detections: 2.0 s to 0.04 s).
  • Results, dtypes and row order are unchanged; a reference test compares against the previous loop across dtypes, window sizes and tolerance boundaries.

Copilot AI balanced review requested due to automatic review settings October 25, 2026 19:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Josef-Haupt
Josef-Haupt merged commit 8095252 into main Oct 25, 2026
15 of 19 checks passed
@Josef-Haupt
Josef-Haupt deleted the rework-merge branch October 25, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants