"Martin v. Löwis", 23.08.2011 10:55:
- “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?

Maybe not as "extremely common" as pure ASCII strings, but at least for western European languages, "mostly ASCII" strings are very common indeed.

Stefan

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to