in reply to Re^3: Use hashes instead of grep
in thread How to grep exact string

Or, as Darth put it:

The time to build the structure is insignificant compared to the power of the hash!