Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bsearch7

Efficient binary search for character vectors


Description

Efficient binary search for character vectors

Usage

bsearch7(val, tab, L = 1L, H = length(tab))

Arguments

val

values

tab

table to find values in

L

lower bound

H

upper bound

Author(s)

Martin Morgan, Neal Fultz

References

Examples

bsearch7(sample(letters, 5000, replace=TRUE), letters)

stackoverflow

Stack Overflow's Greatest Hits

v0.7.0
CC BY-SA 4.0
Authors
Neal Fultz <nfultz@gmail.com> and the StackOverflow.com community
Initial release
2020-01-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.