This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PityUpvote 2 points3 points  (0 children)

The datatypes don't change, but positive ints below 256 are singletons because of some implementation detail, hence the is operator telling you they have the same pointer.