Parapool
Provides parallel processing on thread pool.
Installation
Add this line to your application's Gemfile:
gem 'parapool'
And then execute:
$ bundle
Or install it yourself as:
$ gem install parapool
Usage
pool = Parapool.new
pool.map([1, 2, 3, 4, 5]).map do |data|
data ** 2
end
Contributing
- Fork it ( https://github.com/kechako/parapool/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request