Hacker News new | ask | show | jobs
by dhotson 6566 days 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.

1 comments

gem install facets require "rubygems" require "facets/thread" %w[a b c].threaded_map{|str| puts str }

It's multicore if you're using jruby.