Re:Python strings are immutable, but only sometimes
by baud147258 on Monday February 15, 2021 @09:11PM
(#26150146)
The "numbers less than 256 are the same objects" reminds me of the existence of the IntegerCache in Java, with an array storing the number from -128 to 127.
[ Parent
| on HN ]