3 ms·
One change to ruby that would be useful, would be to make Enumerable.collect run in parallel. There's probably a whole bunch of other Enumerable methods that c
by dhotson 18y ago
One change to ruby that would be useful, would be to make Enumerable.collect run in parallel.
There's probably a whole bunch of other Enumerable methods that could be made to run in parallel as well.
- fizx 18y agogem install facets require "rubygems" require "facets/thread" %w[a b c].threaded_map{|str| puts str } It's multicore if you're using jruby.