in reply to Re: List processing performance
in thread List processing performance
A couple characters shorter, plus it's faster because the sort is done after you've filtered out duplicates and common words.@words = sort grep !$seen{$_ = lc}++, @words
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(chromatic) RE: RE: Re: List processing performance
by chromatic (Archbishop) on Jul 11, 2000 at 23:32 UTC | |
by btrott (Parson) on Jul 12, 2000 at 07:08 UTC |