Speed tweaks.... just for Justin (@xxdesmus)
Speed tweaks.... just for Justin (@xxdesmus)

So, it turns out, this code is slightly slower than nginx + HHVM
(which I'm not totally surprised about, since Python is interpreted)
anyway, we're going on a speed push, removing dependencies loaded
at runtime we don't need from bottle, removinf randomness from
/icon when choosing colours (for some reason it picks 2, depleting
/dev/urandom) and immediately returning an IP when a condition returns
True instead of waiting.

Hopefully this should save some precious ms

matthewgall/ipinfo.in,matthewgall/ipinfo.in