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

Optimized Dictionary hash() and duplicate() methods #32719

Merged
merged 1 commit into from
Oct 26, 2019

Conversation

pouleyKetchoupp
Copy link
Contributor

hash and duplicate methods in were using get_key_list before iterating through all entries, which was causing unnecessary allocations and iterations.

Credits to @Zylann for finding the issue :)

@Zireael07
Copy link
Contributor

Why close?

@pouleyKetchoupp
Copy link
Contributor Author

The build failed on something that doesn't seem related to the code I've changed, so I've closed and reopen to start it again.

@akien-mga akien-mga added this to the 3.2 milestone Oct 10, 2019
@akien-mga akien-mga requested a review from bojidar-bg October 10, 2019 17:40
@akien-mga akien-mga merged commit c994eaa into godotengine:master Oct 26, 2019
@akien-mga
Copy link
Member

Thanks!

@pouleyKetchoupp pouleyKetchoupp deleted the dictionary-optimization branch October 26, 2019 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants