Ruby 2.1 frozen string DoS? 1000000000000.times { |n| eval "'#{n}'f" }
@charliesome @tenderlove @fuadsaud try this: 1000000000000.times { |n| eval "'#{'X' * 10000000}#{n}'f" }
-
-
@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 me -
@charliesome@tenderlove@fuadsaud you repoed it without the GC.start though? -
@bascule@tenderlove@fuadsaud might be rgengc related? /cc@_ko1 -
@charliesome@bascule@tenderlove@fuadsaud https://twitter.com/meskyanichi/status/382799006520606720 …This Tweet is unavailable. - End of conversation
New conversation -
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.