| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## master #1891 +/- ##
=======================================
Coverage 85.91% 85.91%
=======================================
Files 379 379
Lines 19778 19779 +1
Branches 3016 3016
=======================================
+ Hits 16993 16994 +1
Misses 2785 2785 ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Describe your change:
Improved the binary search implementation by updating the mid calculation.
Old approach:
mid = Math.floor((low + high) / 2)
New approach:
mid = low + Math.floor((high - low) / 2)
This prevents potential overflow issues and follows best practices used in production-level code.
Checklist: