parallel.cr
Parallel.cr
Parallel processing in Crystal
Parallel.each(1..10) do |x|
# CPU heavy task...
puts x
end
Parallel.each(['a', 'b', 'c']) do |x|
# CPU heavy task...
puts x
end
Installation
Add this to your application's shard.yml
:
dependencies:
parallel:
github: hugoabonizio/parallel
Usage
require "parallel"
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/hugoabonizio/parallel.cr/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
Contributors
- [hugoabonizio] - creator, maintainer
Repository
parallel.cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- over 7 years ago
- June 5, 2016
License
MIT License
Links
Synced at
Fri, 03 May 2024 00:50:05 GMT
Languages