⬅︎ Back to String length truncation optimization difference in Python
See Jeff's interesting response above. Also,>>> s='peter'>>> m=3>>> id(b(s,m)) == id(s)False
Comment
See Jeff's interesting response above.
Also,
>>> s='peter'
>>> m=3
>>> id(b(s,m)) == id(s)
False