4 ms·
Interesting. You're right. Code pointer: https://github.com/python/cpython/blob/main/Objects/unicodeobject.c#L5268 https://github.com/python/cpython/blob/mai
by nostrademons 1y ago
Interesting. You're right. Code pointer:
https://github.com/python/cpython/blob/main/Objects/unicodeobject.c#L5268 https://github.com/python/cpython/blob/main/Objects/unicodeo...
Also implies that Animats is correct that including an emoji in a Python string can bloat the memory consumption by a factor of 4.