Finding fast default aliases in python
<p>Is there a faster way to do this for much larger dicts?</p>

<pre><code>aliases = {
            'United States': 'USA',
            'United Kingdom': 'UK',
            'Russia': 'RUS',
          }
if countryname in aliases: countryname = aliases[countryname]
</code></pre>
