Skip to content

Add parallel array enumerator#705

Merged
Mangara merged 1 commit into
mainfrom
mangara-parllel-range
May 7, 2026
Merged

Add parallel array enumerator#705
Mangara merged 1 commit into
mainfrom
mangara-parllel-range

Conversation

@Mangara

@Mangara Mangara commented May 6, 2026

Copy link
Copy Markdown
Contributor

What and why?

This PR adds a parallel array enumerator that builds on the foundation laid in #702.

While it's not complex, getting the logic exactly right so each instance handles roughly the same number of elements and no elements are double-processed or missed is a bit tricky. That's why it's useful for this to live in the gem, instead of every user having to rebuild it.

@Mangara Mangara self-assigned this May 6, 2026
@Mangara Mangara requested a review from a team as a code owner May 6, 2026 14:58

@akinshonibare akinshonibare left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, do we enqueue no-op children, i.e if the instances > array.size or array is empty

@Mangara

Mangara commented May 6, 2026

Copy link
Copy Markdown
Contributor Author

LGTM, do we enqueue no-op children, i.e if the instances > array.size or array is empty

We do. I'm not sure if it's worth guarding against that. A no-op job is pretty harmless.

@Mangara Mangara merged commit 6a20055 into main May 7, 2026
24 checks passed
@Mangara Mangara deleted the mangara-parllel-range branch May 7, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants