-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Using binary search instead of sequential search for rowData #2129
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
this PR dependency that 'SheetData.Row[i].R ' is ordered. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2129 +/- ##
=======================================
Coverage 99.23% 99.23%
=======================================
Files 32 32
Lines 30196 30236 +40
=======================================
+ Hits 29965 30005 +40
Misses 153 153
Partials 78 78
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your pull request. I've left a comment.
This is awesome! Does these changes increase memory usage? If so, how much memories will be increased? |
no change in memory usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for your contribution.
PR Details
Using binary search instead of sequential search for rowData
Description
Related Issue
#1961
Motivation and Context
How Has This Been Tested
Performance testing was conducted on an AMD64 WSL using Go's benchmark tool. The benchmarks were run the test mentioned in #1961 8 times . The following results were observed:
code:
Types of changes
Checklist