This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 222
Added IndexRange to remove checks in hot loops #247
Merged
Merged
Conversation
This file contains 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
jorgecarleitao
added
enhancement
An improvement to an existing feature
backwards-incompatible
labels
Aug 4, 2021
Merged
Codecov Report
@@ Coverage Diff @@
## main #247 +/- ##
==========================================
+ Coverage 76.69% 76.81% +0.12%
==========================================
Files 229 230 +1
Lines 19687 19666 -21
==========================================
+ Hits 15099 15107 +8
+ Misses 4588 4559 -29
Continue to review full report at Codecov.
|
LGTM, do we have benchmark results vs |
jorgecarleitao
changed the title
Added IndexRange to improve performance in sort.
Added IndexRange to remove checks in hot loops
Aug 4, 2021
jorgecarleitao
force-pushed
the
index_range
branch
from
August 4, 2021 16:18
06ba1c6
to
70b1168
Compare
Thanks for the review. This has no impact in performance. I think it makes it easier to read and rules out the |
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This improves performance of
sort
by removing checks from inside hot loops.Backward incompatible changes
The trait
Index
is now available atarrow2::types::Index
, instead ofarrow2::array::Index