#616: MacRuby does not return control to terminal -----------------------------+---------------------------------------------- Reporter: ufo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: hang, freeze -----------------------------+---------------------------------------------- Executing this code {{{ n = 5000000 s = (0..n).to_a s[0] = s[1] = nil s.each do |p| next unless p break if p * p > n puts p (p*p).step(n, p) { |m| s[m] = nil } end s.compact }}} MacRuby 0.5 just hangs, uses up the CPU and does not return to the terminal. Further information here: http://pastie.org/private/y9yyfnqql3st7ankcrk48w -- Ticket URL: <http://www.macruby.org/trac/ticket/616> MacRuby <http://macruby.org/>