[Python-3000] String comparison

Jim Jewett jimjjewett at gmail.com
Tue Jun 12 16:03:53 CEST 2007


On 6/12/07, Rauli Ruohonen <rauli.ruohonen at gmail.com> wrote:
> Practically
> speaking, there's little need to interpret surrogate pairs as two
> code points instead of as one non-BMP code point.

Depends on your definition of "practically".

Python does interpret them that way to maintain O(1) positional access
within strings encoded with 16 bits/char.

-jJ


More information about the Python-3000 mailing list