[Python-Dev] _socket efficiencies ideas

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Fri, 02 May 2003 19:19:48 +1000


>>> =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= wrote
> > Unfortunately the code still goes through the idna encoding module - this
> > is some overhead that it would be nice to avoid for all-numeric addresses.
> 
> That happens only if the argument is a Unicode string, no?

Ah. That could be the case - I think I'm loading the address from an
XML file in the test case I used... will fix that.

Anthony