Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Yes, symbols that are garbage collected will get new object IDs if they appear again.

https://gist.github.com/mboeh/83338a4e3a6a77689e22




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: