[I18n-sig] thinking of CJK codec, some questions
Brian Takashi Hooper
Thu, 16 Mar 2000 00:07:44 +0900
Thanks, this is great advice, and the kind of feedback I have been looking
for! Especially about not using PyCObject, which seemed like the thing
to do but I have to admit some naivete about its proper use.
I'll try thinking about this a bit more, along the lines you suggest.
On Wed, 15 Mar 2000 15:36:34 +0100
"M.-A. Lemburg" <firstname.lastname@example.org> wrote:
> Just a few comments about the design (don't have any knowledge
> about Asian encodings):
> 1. Keep large mapping tables in single automatically generated C
> modules that export a lookup object (ones that define __getitem__).
> These could also be generated using some perfect hash table
> generator, BTW, to reduce memory consumption.
> 2. Write small special encoders/decoders that take the lookup
> table objects as argument.
> 3. Glue both together using Python code -- forget about the
> PyCObject idea :-) ... it causes too many problems when the import
> Marc-Andre Lemburg
> Business: http://www.lemburg.com/
> Python Pages: http://www.lemburg.com/python/
> I18n-sig mailing list