Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Zipcode Proximity script

by CountZero (Bishop)
on Mar 31, 2003 at 19:50 UTC ( #247049=note: print w/ replies, xml ) Need Help??


in reply to Zipcode Proximity script

A simple trick to cut time in half is to check only for places which are further down the file, as the distance from A to B is the same as the distance from B to A.

After you have found all A to B distances, just invert the list to get all B to A distances as well.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law


Comment on Re: Zipcode Proximity script

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://247049]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2015-07-05 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (66 votes), past polls