@bascule @tenderlove frozen strings are GC'd: https://github.com/ruby/ruby/blob/trunk/string.c#L875-878 …
-
-
Replying to @charliesome
@charliesome@tenderlove@fuadsaud are you sure that happens in this case? https://gist.github.com/tarcieri/6708317 …1 reply 0 retweets 0 likes -
Replying to @bascule
@bascule@tenderlove@fuadsaud it won't happen there because the executing iseq holds a reference to the frozen string object1 reply 0 retweets 0 likes -
Replying to @charliesome
@charliesome@tenderlove@fuadsaud my original example doesn't GC: http://i.imgur.com/cGGGgWs.png3 replies 0 retweets 0 likes -
Replying to @bascule
@bascule@tenderlove@fuadsaud seems to GC just fine for me :\1 reply 0 retweets 0 likes -
Replying to @charliesome
@charliesome@tenderlove@fuadsaud try this: 1000000000000.times { |n| eval "'#{'X' * 10000000}#{n}'f" }2 replies 0 retweets 0 likes -
Replying to @bascule
@bascule@tenderlove@fuadsaud seems to just be that ruby isn't GCing enough. Sticking a 'GC.start' at the end of the block fixes it for me1 reply 0 retweets 0 likes -
Replying to @charliesome
@charliesome@tenderlove@fuadsaud you repoed it without the GC.start though?2 replies 0 retweets 0 likes -
Replying to @bascule
@bascule@tenderlove@fuadsaud might be rgengc related? /cc@_ko11 reply 0 retweets 0 likes -
Replying to @charliesome
_ko1 Retweeted
@charliesome@bascule@tenderlove@fuadsaud https://twitter.com/meskyanichi/status/382799006520606720 …_ko1 added,
This Tweet is unavailable.1 reply 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.