[issue31484] Cache single-character strings outside of the Latin1 range

Antoine Pitrou report at bugs.python.org
Mon Sep 18 15:11:47 EDT 2017


Antoine Pitrou added the comment:

Judging by the numbers, this optimization does not sound worth the hassle.  It is quite rare to iterate over all characters in a long text while doing so little work with them that the cost of iteration is significant.

By the way:

> Sorry for using the word hieroglyphs for Chinese characters. I didn't know how they are named in English.

I think the word you were looking for is "ideogram".

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31484>
_______________________________________


More information about the Python-bugs-list mailing list