3 ms·
Well dang... that is interesting and not what I expected. So from this I can infer that it also changes if a symbol is garbage collected now. So has the imple
by bigtunacan 12y ago
Well dang... that is interesting and not what I expected. So from this I can infer that it also changes if a symbol is garbage collected now. So has the implementation of Object.send changed in Ruby 2.2+ as well? The latest copy of the code I have looked at is 1.9.3.
- djur 12y agoYes, symbols that are garbage collected will get new object IDs if they appear again. https://gist.github.com/mboeh/83338a4e3a6a77689e22 https://gist.github.com/mboeh/83338a4e3a6a77689e22