perf: reduce checked determinant query overhead - #209
Conversation
- Aggregate D≥5 range proofs before a single cold scaled replay. - Preserve immediate small-dimension fallback and range-safe determinant behavior. Closes #190
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe change replaces the range-check enum with a product-plus-proof struct. LU and LDLT determinant paths use the new accessors and dimension-specific fallback behavior. The Justfile updates the pinned ChangesDeterminant range safety
Tooling pin
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant LuDet as Lu::det
participant LdltDet as Ldlt::det
participant RangeCheck as range_checked_product
participant Scaled as ScaledProduct
LuDet->>RangeCheck: multiply accumulator and factor
RangeCheck-->>LuDet: product and range_preserved
LdltDet->>RangeCheck: multiply accumulator and factor
RangeCheck-->>LdltDet: product and range_preserved
LuDet->>Scaled: use scaled accumulation after unsafe result
LdltDet->>Scaled: use scaled accumulation after unsafe result
Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #209 +/- ##
==========================================
- Coverage 97.86% 97.86% -0.01%
==========================================
Files 8 8
Lines 4975 5007 +32
==========================================
+ Hits 4869 4900 +31
- Misses 106 107 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Closes #190
Summary by CodeRabbit
Bug Fixes
Refactor
Chores