Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Will stuff break if you run fun on elements after the first true output? If later evaluations have to wait for earlier ones to finish like that, it's going to put a pretty big damper on how much you can benefit from multiprocessing. Commented Apr 3, 2018 at 0:03
  • @user2357112 no, nothing will break, but there's no point in evaluating everything since I'm only searching for the first instance that evaluates to True. Commented Apr 3, 2018 at 0:04