Fast GEO redirect script?

Looking for a fast GEO redirect script, tried a few but especial the ones using geoplugin are kind of slow.