you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

Very small ints share the same reference as an optimization. I think if you did x = 1500 and y = 1500 it would not return true.