Actions
Bug #7409
closed
Fix bsearch documentation bug - should be O(log n)
Description
See attached
Files
Actions
Like0
Like0Like0
Added by Anonymous over 12 years ago. Updated over 12 years ago.
Description
See attached
Files
bsearch-time-complexity-doc.patch (1.07 KB) bsearch-time-complexity-doc.patch | Anonymous, 11/20/2012 06:32 PM |
Whoa, thank you!
--
Yusuke Endoh mame@tsg.ne.jp
This issue was solved with changeset r37755.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
array.c (rb_ary_bsearch): fix rdoc bug (O(n log n) -> O(log n)).
Patch by Charlie Somerville. [ruby-core:49661] [Bug #7409]
range.c (range_bsearch): ditto.