3 ms·
>in other implementations, they aren't even singletons That would have been less surprising (since for < 256 the singleton-ness means all same valued instances
by coldtea 7y ago
>in other implementations, they aren't even singletons
That would have been less surprising (since for < 256 the singleton-ness means all same valued instances have the same "address" (id), so behave in equality check as if they were plain numbers).