Binary search

Martin v. Löwis martin at v.loewis.de
Wed Jan 15 11:56:06 EST 2003


"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.

Regards,
Martin





More information about the Python-list mailing list