perf(vector): improve dot and norm2_sq throughput#185
Conversation
- Check accumulator finiteness once after the success-path reduction. - Replay only non-finite reductions to preserve the first failing step. - Preserve left-to-right fused accumulation and const evaluation. Closes #155
|
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 (1)
📝 WalkthroughWalkthrough
ChangesVector overflow provenance
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 #185 +/- ##
==========================================
+ Coverage 97.81% 97.87% +0.05%
==========================================
Files 8 8
Lines 4859 4944 +85
==========================================
+ Hits 4753 4839 +86
+ Misses 106 105 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Closes #155
Summary by CodeRabbit
Bug Fixes
Tests