Skip to content
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

Parallel mod ticking #12

Open
BrandonDyer64 opened this issue Feb 13, 2023 · 2 comments
Open

Parallel mod ticking #12

BrandonDyer64 opened this issue Feb 13, 2023 · 2 comments
Assignees
Labels
C-bevy_wasm The bevy_wasm crate
Milestone

Comments

@BrandonDyer64
Copy link
Owner

Currently, mods are ticked in series. It should be relatively trivial to tick them in parallel.
See Query::par_for_each

@BrandonDyer64 BrandonDyer64 added the C-bevy_wasm The bevy_wasm crate label Feb 13, 2023
@BrandonDyer64 BrandonDyer64 added this to the 0.10 milestone Feb 13, 2023
@BrandonDyer64 BrandonDyer64 self-assigned this Feb 13, 2023
@BrandonDyer64
Copy link
Owner Author

This is blocked until Bevy releases 0.10
par_for_each isn't an iterator, so collecting the results of the ticks is more annoying than it's worth

@BrandonDyer64 BrandonDyer64 modified the milestones: 0.10, 0.11 Mar 6, 2023
@BrandonDyer64
Copy link
Owner Author

The parallel iterator isn't an iterator. I will need to make a PR on Bevy to enable this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bevy_wasm The bevy_wasm crate
Projects
None yet
Development

No branches or pull requests

1 participant