Binary search

Martin v. Löwis martin at
Wed Jan 15 17:56:06 CET 2003

"David Brown" <david at> 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.


More information about the Python-list mailing list