[Python-Dev] PEP 393 Summer of Code Project

"Martin v. Löwis" martin at v.loewis.de
Tue Aug 23 10:55:40 CEST 2011


> - “The UTF-8 decoding fast path for ASCII only characters was removed
>   and replaced with a memcpy if the entire string is ASCII.” 
>   The fast path would still be useful for mostly-ASCII strings, which
>   are extremely common (unless UTF-8 has become a no-op?).

Is it really extremely common to have strings that are mostly-ASCII but
not completely ASCII? I would agree that pure ASCII strings are
extremely common.

Regards,
Martin


More information about the Python-Dev mailing list