# Re: IP to Country (#139)

**URL:** <https://www.ruby-forum.com/t/re-ip-to-country-139/115058>\
**Category:** Ruby\
**Created:** [September 20, 2007, 8:03am UTC](https://www.ruby-forum.com/t/re-ip-to-country-139/115058 "2007-09-20T08:03:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_d](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@steve\_d](https://www.ruby-forum.com/u/steve_d)\
**Post date:** [September 20, 2007, 8:03am UTC](https://www.ruby-forum.com/t/re-ip-to-country-139/115058/1 "2007-09-20T08:03:13Z")

</div>

From: Bill K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> Cool. I guess mine was overlooked but it also does no prep work:

Sorry about that, re-ran with yours included:

10000 times each:  
-bash-2.05b$ ruby bm.rb  
sorted by real time  
[[“james.rb”, 97.2237520217896],  
[“adam.rb”, 100.450285196304],  
[“steved.rb”, 101.930130004883],  
[“erik.rb”, 103.835056066513],  
[“bill.rb”, 104.454197883606],  
[“eugene.rb”, 105.771279811859],  
[“justin.rb”, 106.694982051849],  
[“jesus.rb”, 118.557897090912],  
[“simon.rb”, 141.083032131195]]

sorted by sys time  
[[“simon.rb”, 16.359375],  
[“bill.rb”, 17.6328125],  
[“erik.rb”, 17.7109375],  
[“eugene.rb”, 17.734375],  
[“steved.rb”, 17.84375],  
[“justin.rb”, 17.921875],  
[“jesus.rb”, 17.9921875],  
[“adam.rb”, 18.046875],  
[“james.rb”, 18.140625]]

sorted by user time  
[[“adam.rb”, 0.7578125],  
[“justin.rb”, 0.8203125],  
[“erik.rb”, 0.8203125],  
[“steved.rb”, 0.84375],  
[“jesus.rb”, 0.8984375],  
[“bill.rb”, 0.9140625],  
[“james.rb”, 0.9140625],  
[“simon.rb”, 0.9140625],  
[“eugene.rb”, 0.953125]]

---

<div class="post-metadata">

**Author:** ![steve\_d](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@steve\_d](https://www.ruby-forum.com/u/steve_d)\
**Post date:** [September 20, 2007, 10:03am UTC](https://www.ruby-forum.com/t/re-ip-to-country-139/115058/2 "2007-09-20T10:03:28Z")

</div>

From: “steve d” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> From: Bill K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
> 
> > Cool. I guess mine was overlooked but it also does no prep work:
> 
> Sorry about that, re-ran with yours included:

Thanks! 😃
