I posted a snippet a while ago: Binary search, and updated the code with Binary Search - revisited. Note too ikegami's reply which offers alternative code with some nice tricks.
In reply to Re^5: Check word presence WITHOUT hashes or grep
by GrandFather
in thread Check word presence WITHOUT hashes or grep
by gojippo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |