Re: IP to Country (#139)

From: “Simon Kröger” [email protected]

Ok, my script does not need any initialization, it uses the file
IpToCountry.csv exactly as downloaded.

Same here.

$ time ruby locate.rb
no country

real 0m0.287s

time for 300 random IPs is:

real 0m1.187s

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs