Skip to content

Commit

Permalink
Change first/last implementation to prevent redundant comparisons whe…
Browse files Browse the repository at this point in the history
…n data is already sorted (#8678)

* Change fist last implementation to prevent redundant computations

* Remove redundant checks

* Review

---------

Co-authored-by: Mehmet Ozan Kabak <[email protected]>
  • Loading branch information
mustafasrepo and ozankabak authored Dec 30, 2023
1 parent 7f440e1 commit bb98dfe
Show file tree
Hide file tree
Showing 3 changed files with 234 additions and 116 deletions.
Loading

0 comments on commit bb98dfe

Please sign in to comment.