Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[ruby-2.3] Feature #10730: Implement Array#bsearch_index #3532
Implements Array#bsearch_index. The binary search is now a private method which returns an int
This is functionally identical to how the MRI changes were implemented.
Implements Array#bsearch_index. The binary search is now a private method which returns an int index, and the public #bsearch and #bsearch_index methods utilize it to return an appropriate IRubyObject instance.