After thinking about it once more, let's remove the `else` clause and `break` right after we find the match. It will be much faster. We don't care _that_ much about possible duplicates to slow down the processing.