Skip to content

Conversation

@giladfrid009
Copy link
Contributor

Addresses performance bottleneck in #342

Instead of performing two asyncio.gather calls in gather_trajectory_groups() if the callback after_each is provided, we now perform only a single one, allowing better concurrency and eliminating potential performance bottlenecks.

…ting into a single async func, instead of two separate asyncio.gather() calls.
@giladfrid009
Copy link
Contributor Author

@bradhilton requesting review :)

Copy link
Collaborator

@bradhilton bradhilton left a comment

Choose a reason for hiding this comment

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

Great work!

@bradhilton bradhilton merged commit a513090 into OpenPipe:main Sep 27, 2025
1 check passed
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