Binary search

Bengt Richter bokr at oz.net
Wed Jan 15 20:12:09 EST 2003


On 15 Jan 2003 17:56:06 +0100, martin at v.loewis.de (Martin v. =?iso-8859-15?q?L=F6wis?=) wrote:

>"David Brown" <david at no.westcontrol.spam.com> writes:
>
>> To do a binary search, the file you are searching through must be ordered.
>
>You misunderstand. He does not want to perform a binary search, but a
>search in binary (rather than text) data. I interpreted this as
>meaning that he wants to perform a substring search.
>
I misunderstood the same way ;-) The title "Binary search" didn't primarily
suggest binary data to me.

Regards,
Bengt Richter




More information about the Python-list mailing list