It didn't mean that it took 5 minutes to check every word.
I understood you.
My point was that it inevitably will take longer to split a line of input into words than it does to look those words up in a hash. So, if the overall time taken is too long, you should be looking at how to split the words rather than how to look them up once you;ve split them.
In reply to Re^3: Advice for optimizing lookup speed in gigantic hashes
by BrowserUk
in thread Advice for optimizing lookup speed in gigantic hashes
by tobek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |