Pure python implementation of string-like class

Akihiro KAYAMA kayama at st.rim.or.jp
Sat Feb 25 11:57:33 EST 2006


Hi bearophile.

In article <1140834412.120429.307300 at i40g2000cwc.googlegroups.com>,
bearophileHUGS at lycos.com writes:

bearophileHUGS> Maybe you can create your class using an array of 'L' with the array
bearophileHUGS> standard module.

Thanks for your suggestion. I'm currently using an usual list as a
internal representation. According to my understanding, as compared to
list, array module offers efficiency but no convenient function to
implement various string methods. As Python's list is already enough
fast, I want to speed up my coding work first.

-- kayama



More information about the Python-list mailing list