Skip to content

Conversation

@mantunezr
Copy link

This pull request addresses an issue in the findSpan method where, under certain conditions, the method could enter an infinite loop during the binary search process.

The primary change involves replacing the custom binary search implementation with the standard std::lower_bound function from the C++ Standard Library. This change not only prevents the infinite loop but also simplifies the code and improves robustness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant