2 ms·
Python also detects this situation (at runtime using refcounts) and does in-place mutations where possible https://github.com/python/cpython/blob/a2ee89968299fc
by ketralnis 2y ago
Python also detects this situation (at runtime using refcounts) and does in-place mutations where possible https://github.com/python/cpython/blob/a2ee89968299fc4f0da4b5a4165025b941213ba5/Objects/unicodeobject.c#L14294 https://github.com/python/cpython/blob/a2ee89968299fc4f0da4b...