3 ms·
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.
by fizx 18y ago
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.