how to test, if the class has "shared identity" of instances in the whole image (SmallIntegers, Symbols...)
Feb. 20, 2019
6:31 p.m.
Hello, some classes, like Symbols or SmallIntegers, shares identity of value instances in the whole image (I may say it wrong), so: 1 == 1 copy. [true] #aaa == #aaa copy. [true] all other classes not, like Strings, Objects etc., so: 'aaa' == 'aaa' copy. [false] Is there any test method (maybe on the class side) I could ask for this (isXXX)? Thanks! pf
2718
Age (days ago)
2718
Last active (days ago)
0 comments
1 participants
participants (1)
-
Petr Fischer