[Python-Dev] Unicode charmap decoders slow

"Martin v. Löwis" martin at v.loewis.de
Sat Oct 15 00:22:37 CEST 2005

Walter Dörwald wrote:
> Of course we can't accept Pyrex code in the Python core, so it would be 
> great to rewrite the encoder as a patch to PyUnicode_EncodeCharmap(). 
> This version must be able to cope with encoding tables that are random 
> strings without crashing.

I don't think this will be necessary. I personally dislike the decoding
tables, as I think a straight-forward trie will do better than a


More information about the Python-Dev mailing list