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

Investigate the performance cost of having wrong uids #19

Open
Sunshine-dev-forever opened this issue Oct 25, 2023 · 0 comments
Open

Investigate the performance cost of having wrong uids #19

Sunshine-dev-forever opened this issue Oct 25, 2023 · 0 comments
Labels
investigation Research is needed

Comments

@Sunshine-dev-forever
Copy link
Owner

Overview

Right now godot uses uids to identify other objects to import into scene. There uids are unfortunately computer-specifc, and so need to be remade every time this project is cloned locally.

If the uid is incorrect, then a filepath fallback is used.

problem

One of the times I cloned this project locally, it ran unusually slow. After the uids were rebuilt, the project was noticeably faster. I did not do a proper test, so something else may have happened, but this is still worth a look.

Testing

I imagine you could just manually edit all the uids in scene to be wrong and see if it runs slower

@Sunshine-dev-forever Sunshine-dev-forever added the investigation Research is needed label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation Research is needed
Projects
None yet
Development

No branches or pull requests

1 participant