I suppose this should make the lookup faster because if you already found something there is no point running a wildcard search ? A code comment might help understanding.