[issue42593] Consistency in unicode string multiplication with an integer

Serhiy Storchaka report at bugs.python.org
Mon Dec 7 15:37:13 EST 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

BTW, CPython does not use UTF-8 and UTF-16 encoding in internal representation of strings. It uses Latin1, UCS2 and UCS4 (UTF-32).

What benchmarks show? Is your code always faster and how much? If it is slower for some data, for what data and how much?

----------
nosy: +serhiy.storchaka
type: behavior -> performance

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


More information about the Python-bugs-list mailing list