[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] lua-geoip 0.1.1
- From: Petite Abeille <petite.abeille@...>
- Date: Sun, 27 Mar 2011 11:56:16 +0200
On Mar 26, 2011, at 2:17 AM, Alexander Gladysh wrote:
> Maybe it is a bug in my bindings code somewhere...
Or in your test :)
You seems to be looking up the same IP address repetitively... perhaps your test would be more representative if you vary the lookup for each iteration...
e.g.
local anAddress = ( '%d.%d.%d.%d' ):format( math.random( 0, 255), math.random( 0, 255), math.random( 0, 255), math.random( 0, 255) )