[erlang-questions] Efficient way to select a range of data between 2 values?

Alexander Uvarov alexander.uvarov@REDACTED
Tue Sep 1 01:07:29 CEST 2009


On Aug 31, 2009, at 10:35 PM, Rapsey wrote:

That's awesome!

Finished in 18.878169 seconds. # 2.000.000 lookups
Finished in 14.843154 seconds. # 1000 lookups (using ets)

>
> Result for 100k:
> geoip:loop(100000, T).
> {1235,667762,860389}
> {1235,667763,299972}
> About half a second. Pretty good no?
>
>
> Sergej
>
> On Mon, Aug 31, 2009 at 6:25 PM, Alexander Uvarov <
> alexander.uvarov@REDACTED> wrote:



More information about the erlang-questions mailing list