[Python-Dev] Unicode charmap decoders slow (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sat Oct 15 00:22:37 CEST 2005
- Previous message: [Python-Dev] Unicode charmap decoders slow
- Next message: [Python-Dev] Unicode charmap decoders slow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 PyUnicodeEncodeCharmap(). 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 hashtable.
Regards, Martin
- Previous message: [Python-Dev] Unicode charmap decoders slow
- Next message: [Python-Dev] Unicode charmap decoders slow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]