On 2014-06-04 12:53, Robin Becker wrote: > > If you use UTF-8 for everything, then you end up in a world where > > string-indexing (see ChrisA's other side thread on this topic) is > > no longer an O(1) operation, but an O(N) operation. Some of us > > slice strings for a living. ;-) > ........ > I believe that we should distinguish between glyph/character > indexing and string indexing.
I'm only talking about string indexing using my_string[some_slice] which is traditionally O(1) and breaking that [cw]ould cause unexpected performance degradation. -tkc -- https://mail.python.org/mailman/listinfo/python-list