News for hackers. Stuff that matters.
Re:Python strings are immutable, but only sometimes by nayuki on Monday February 15, 2021 @09:50PM (#26150388)
Java has the same "problem" when boxing an int into a java.lang.Integer. Small integers will have the same reference (==) because there is a cache table, but larger ones won't.

There are no comments on this comment yet.