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