Skip to content

Use lookup table so FindNode is O(1) vs O(N²) - #349

Merged
spencer-lunarg merged 1 commit into
KhronosGroup:mainfrom
stuartcarnie:fix_performance
Aug 10, 2026
Merged

spencer-lunarg merged 1 commit into
KhronosGroup:mainfrom
stuartcarnie:fix_performance

Conversation

@stuartcarnie

@stuartcarnie stuartcarnie commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

This patch was applied to Godot to reduce CPU time of a given project from 7.24s to 544ms:

I have verified all the tests pass.

This patch was applied to Godot to reduce CPU time of a given
project from 7.24s to 544ms
@spencer-lunarg
spencer-lunarg merged commit 059fdeb into KhronosGroup:main Aug 10, 2026
5 checks passed
@spencer-lunarg

Copy link
Copy Markdown
Contributor

@stuartcarnie thanks for the upstream, and thanks for taking a profiler to this repo

@stuartcarnie
stuartcarnie deleted the fix_performance branch August 11, 2026 04:52
@stuartcarnie

Copy link
Copy Markdown
Contributor Author

Thanks for the merge, @spencer-lunarg!

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