Use the Benchmark module to time your approaches.
Oops edit: Additionally if you're going to be uniq'ing the list it might make more sense to keep a hash and use keys on that instead of just an array. As you read the words in just set the corresponding key to 1 and then you've already done the uniq pass (in effect).
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: best way to read and save long list of words
by Fletch
in thread best way to read and save long list of words
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |