On 4/29/2013 8:06 AM, Paul Gilmartin wrote:
what's the break-even between linear search and binary search?

My ROT has always been to prefer linear search for single-digit quantities and prefer binary or hash algorithms for ten or more.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to