@bascule isn't that the same as 1000000000000.times { |n| eval ":'#{n}'" } ?
-
-
-
@bascule@tenderlove frozen strings are GC'd: https://github.com/ruby/ruby/blob/trunk/string.c#L875-878 … -
@charliesome@tenderlove@fuadsaud are you sure that happens in this case? https://gist.github.com/tarcieri/6708317 … -
@bascule@tenderlove@fuadsaud it won't happen there because the executing iseq holds a reference to the frozen string object -
@charliesome@tenderlove@fuadsaud my original example doesn't GC: http://i.imgur.com/cGGGgWs.png -
@bascule@tenderlove@fuadsaud seems to GC just fine for me :\ -
@charliesome@tenderlove@fuadsaud try this: 1000000000000.times { |n| eval "'#{'X' * 10000000}#{n}'f" } - 5 more replies
New conversation -
-
-
@bascule sounds like a repeat of the symbol exhaustion 1000000000000.times {|n| n.to_sym} -
@pea53 that's what I was going for, however it may just be a GC bug: https://twitter.com/meskyanichi/status/382799006520606720 …This Tweet is unavailable.
End of conversation
New conversation -
-
-
@bascule frozen stuff are still gc'dThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.