in reply to
fastest way to compare numerical strings?
Use your systems sort utility on the file
first
. The you can compare adjacent records, reducing your number of tests to N - 1 rather than N**2.
Comment on
Re: fastest way to compare numerical strings?
In Section
Seekers of Perl Wisdom