[Python-3000] string C API

"Martin v. Löwis" martin at v.loewis.de
Wed Sep 13 19:14:30 CEST 2006


Jim Jewett schrieb:
> Simply not encoding/decoding until required would save quite a bit of
> time and space -- but then the object would need some way of
> indicating which encoding it is in.

Try implementing that some time. You'll find it will be incredibly
complex and unmaintainable. Start with implementing len(s).

Regards,
Martin



More information about the Python-3000 mailing list