Skip to content

Conversation

Galoretka
Copy link

Fix logical error where wait was executed immediately after each background
process in the for loop, making parallel execution ineffective.

  • Moved wait command from inside the loop to the end of generate_commands_rec function
  • Now all recursive calls run in parallel and wait for completion at the end
  • Improves performance by allowing concurrent subcommand processing

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.

2 participants