Skip to content

hugoabonizio/parallel.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Fork it ( https://github.com/hugoabonizio/parallel.cr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

[WIP] Parallel processing in Crystal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published