I'm curious.. What is the advantage of doing this over using a database?

I did this back in 2006 using a DB.
URL : http://pradeepgowda.com/programming/ip-to-country-for-pylons-comments

+PG


On Thu, Feb 19, 2009 at 5:21 AM, Chetan Nichkawde
<chetan.nichka...@gmail.com> wrote:
> Dear BangPypers,
>
>    There was a problem posed to me to efficiently find the country for a
> given IP address. I have devised the solution for the same using splay tree.
> This could used in various places, like serving a web pages based on the
> country from which the request is coming from. The code can be downloaded
> from
>
> http://code.google.com/p/ip-country-translator/
>
> Chetan
>
> _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to