Skip to content

Conversation

@hf-kklein
Copy link
Contributor

this change restricts the use of v_ahb_diff to compare the SAME prüfidentifikator between 2 format versions where the older version is actually older than the newer.
before this change you could also compare in the opposite direction or compare different prüfidentifikators. this is no longer possible. but we get significant performance gains.

this change restricts the use of `v_ahb_diff` to compare the SAME prüfidentifikator between 2 format versions where the older version is actually older than the newer.
before this change you could also compare in the opposite direction or compare different prüfidentifikators. this is no longer possible. but we get significant performance gains.
@hf-kklein hf-kklein requested a review from Copilot December 16, 2025 15:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR optimizes the v_ahb_diff database view by restricting its usage to compare the same prüfidentifikator across format versions where the older version chronologically precedes the newer version. The optimization trades generality for performance by eliminating unnecessary comparison combinations.

Key Changes:

  • Restricted comparisons to matching prüfidentifikators only
  • Added constraint that old format version must be less than new format version
  • Updated documentation to reflect the new limitations introduced in version 0.32

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hf-kklein hf-kklein merged commit af9fbcf into main Dec 16, 2025
21 checks passed
@hf-kklein hf-kklein deleted the restriction branch December 16, 2025 16:37
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