Parallelization
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- PHP
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Given a sequence of elements I would like to be able to spawn workers and relay work to them.
$thumbs= new Folder('thumbs');
Sequence::of(new IOCollectionIterator('.', true))
->filter(new ExtensionEqualsFilter('.jpg'))
->each(function($e) use($thumbs) {
$image= Image::loadFrom(new JpegStreamReader($e->getInputStream()));
$thumb= Image::create(400, 300);
$thumb->resampleFrom($image);
$thumb->saveTo(new JpegStreamWriter((new File($thumbs, $e->getName())->out());
}))
;
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Sequence::of pipeline and the each(...) callback shown in the issue. No implementation files or tests are named, and worker lifecycle, ordering, error handling, and completion criteria are unspecified; clarify those points before determining what done means.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- stream-processing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100