[Python-Dev] Internal representation of strings and Micropython (original) (raw)

Stephen J. Turnbull stephen at xemacs.org
Wed Jun 4 19:57:39 CEST 2014


Serhiy Storchaka writes:

It would be interesting to collect a statistic about how many indexing operations happened during the life of a string in typical (Micro)Python program.

Probably irrelevant (I doubt anybody is going to be writing programmers' editors in MicroPython), but by far the most frequently called functions in XEmacs are byte_to_char_index and its inverse.



More information about the Python-Dev mailing list