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

[ruby-2.3] Feature #10730: Implement Array#bsearch_index #3532

Merged
merged 2 commits into from Dec 12, 2015

Conversation

Projects
None yet
3 participants
@cheald
Contributor

cheald commented Dec 12, 2015

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.

This is functionally identical to how the MRI changes were implemented.

[ruby-2.3] Feature #10730: Implement Array#bsearch_index
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.

kares added a commit that referenced this pull request Dec 12, 2015

Merge pull request #3532 from cheald/array_bsearch_index
[ruby-2.3] Feature #10730: Implement Array#bsearch_index

@kares kares merged commit ef6d89a into jruby:ruby-2.3 Dec 12, 2015

@kares kares added this to the JRuby 9.1.0.0 milestone Dec 13, 2015

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