Repository navigation
chore: Remove row_step from process_sorted_row_partition - #2920
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2920 +/- ##
============================================
+ Coverage 56.12% 59.41% +3.28%
- Complexity 976 1379 +403
============================================
Files 119 167 +48
Lines 11743 15353 +3610
Branches 2251 2548 +297
============================================
+ Hits 6591 9122 +2531
- Misses 4012 4945 +933
- Partials 1140 1286 +146 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
comphead
approved these changes
Dec 16, 2025
comphead
left a comment
Contributor
There was a problem hiding this comment.
Thanks @andygrove that looks like a core change, and looks more easy to read and simpler. Interesting there is no performance gain on dropping the loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #.
Rationale for this change
The
row_stepoptimization uses an inner loop processing 10 rows at a time and downcast the builders every 10 rows. It does not seem to do anything to actually improve performance, so I removed it. The code is simpler to understand now and should be faster.Before:
After:
What changes are included in this PR?
How are these changes tested?