Skip to content

refactor: add if guard to par_cull_insignificant_data#426

Merged
KSXGitHub merged 2 commits into
masterfrom
refactor-cull-insignificant-data-if-guard
May 28, 2026
Merged

refactor: add if guard to par_cull_insignificant_data#426
KSXGitHub merged 2 commits into
masterfrom
refactor-cull-insignificant-data-if-guard

Conversation

@KSXGitHub

Copy link
Copy Markdown
Owner

No description provided.

claude and others added 2 commits May 28, 2026 16:01
…cull_insignificant_data

Move the early-out for non-positive ratios into the method so callers no
longer need to wrap it in an `if min_ratio > 0.0` guard. The guard also
covers NaN so the method is a no-op for every ratio that is not greater
than zero, matching the behavior the call-site guards provided.

https://claude.ai/code/session_01Nj3xEp1eoDKRp1MUCxNQRQ
@github-actions

Copy link
Copy Markdown

Performance Regression Reports

commit: 164ac27

There are no regressions.

@KSXGitHub KSXGitHub marked this pull request as ready for review May 28, 2026 09:42
@KSXGitHub KSXGitHub merged commit 5b06136 into master May 28, 2026
15 checks passed
@KSXGitHub KSXGitHub deleted the refactor-cull-insignificant-data-if-guard branch May 28, 2026 09:42
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