-
-
Notifications
You must be signed in to change notification settings - Fork 11
perf: small optimizations to get_diff()
#185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughUpdates Git diff computation and staged-status handling in the git module; adds JSON LF normalization in Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
29de192 to
47dfc15
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #185 +/- ##
==========================================
- Coverage 98.30% 98.29% -0.01%
==========================================
Files 24 24
Lines 1942 1938 -4
==========================================
- Hits 1909 1905 -4
Misses 33 33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
In porting #180 to rust (cpp-linter/cpp-linter-rs#260), I found a few spots for improvement. These changes should be more performant when there are staged changes.
47dfc15 to
b6fa83e
Compare
get_sha()get_diff()
In porting #180 to rust (cpp-linter/cpp-linter-rs#260), I found a few spots for improvement.
These changes should be more performant when there are staged changes.
Summary by CodeRabbit
Chores
Bug Fixes
Tests