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

Loader LoadState processing should avoid redundant work #17

Open
kabergstrom opened this issue Jul 22, 2019 · 1 comment
Open

Loader LoadState processing should avoid redundant work #17

kabergstrom opened this issue Jul 22, 2019 · 1 comment

Comments

@kabergstrom
Copy link
Collaborator

Currently the main LoadState state machine iterates through all LoadStates every frame. Generally it only needs to iterate over states that may change. I think avoiding processing of Loaded assets will be sufficient, and can probably be achieved by processing only when a ref is added or removed.

@kabergstrom
Copy link
Collaborator Author

It would also be nice to progress the LoadState state machine multiple times per frame to reduce loading latency. Maybe run the process function until the state doesn't change?

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

No branches or pull requests

1 participant