Skip to content

fix(parallel): cache factory modules and probe count#26

Merged
assagman merged 1 commit intomainfrom
fix/parallel
Dec 18, 2025
Merged

fix(parallel): cache factory modules and probe count#26
assagman merged 1 commit intomainfrom
fix/parallel

Conversation

@assagman
Copy link
Owner

  • Prevents duplicate factory invocations in the Parallel module by caching created modules.
  • Avoids probing the worker/task count more than once, reducing redundant work and potential side effects.
  • Improves predictability and performance for end users when running parallel workloads (especially when factories are expensive or non-idempotent).

…uble calls

Signed-off-by: assagman <ahmetsercansagman@gmail.com>
@assagman assagman self-assigned this Dec 18, 2025
@assagman assagman added bug Something isn't working enhancement New feature or request labels Dec 18, 2025
@assagman assagman merged commit 5935986 into main Dec 18, 2025
4 checks passed
@assagman assagman deleted the fix/parallel branch December 18, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant