Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: duplicate lines in arrayby mcogan1966 (Monk) |
on Jan 23, 2004 at 13:24 UTC ( [id://323552]=note: print w/replies, xml ) | Need Help?? |
Hashes have very fast processing speeds. Using them for finding unique values of an array like this will work nicely, and very fast even over larger files. I recently had to do something similar for a project, and the hash solution worked nicely, and the speed was blazing in comparison to my original 'nested looping' solution.
In Section
Seekers of Perl Wisdom
|
|