Skip to content

Remove dead ParallelIterator code #4491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

GrantMoyer
Copy link
Contributor

All uses of ParallelIterator in the Query API were removed in #1525, when it was replaced with Query::par_for_each(). This change removes the practically dead code related to ParallelIterator.

It also updates the comments in the parallel_query example, which became out of date when ParallelIterator was replaced. It also increases the sprite count in the example, since sprite rendering is no longer a bottleneck. Finally, it fixes a bug in the example which caused sprites to get stuck on the edge of the window when the window's size was reduced.

Changelog

  • Removed dead ParallelIterator code

All uses of ParallelIterator in the Query API were removed in bevyengine#1525, when it was replaced with Query::par_for_each(). This change removes the practically dead code related to ParallelIterator.

It also updates the comments in the parallel_query example, which became out of date when ParallelIterator was replaced. It also increases the sprite count in the example, since sprite rendering is no longer a bottleneck. Finally, it fixes a bug in the example which caused sprites to get stuck on the edge of the window when the window's size was reduced.
@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Apr 16, 2022
@mockersf
Copy link
Member

Previous attempt in #2093.

@GrantMoyer
Copy link
Contributor Author

Whoops, thanks for the pointer @mockersf. I didn't realize there was a PR in the works which builds off ParallelIterator.

@GrantMoyer GrantMoyer closed this Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants