in reply to Re: issues maintaining uniqueness
in thread issues maintaining uniqueness
I actually didn't make that assumption. I could have easily not worried about things being unique until I got to the IP values - but by doing that I am wasting processing power and bandwidth by doing a DNS lookup on the same URL multiple times.
This is why I decided to make sure I pass a unique set of hostnames to the Net:DNS::Resolver and then run the results (IPs (including duplicates)) through the Array::Unique module again.
In fact if you try the script as is and compare the regex results before and after passing through the Array:Unique module you will see I am saving a large amount of duplication.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: issues maintaining uniqueness
by mr_mischief (Monsignor) on Apr 30, 2008 at 19:58 UTC | |
by Anonymous Monk on May 01, 2008 at 01:49 UTC |