Skip to content

Conversation

bcherny
Copy link
Owner

@bcherny bcherny commented May 15, 2022

This diff introduces hashcodes for AST nodes. This gives us an efficient way to recursively compare two AST nodes by value.

This means our optimizer can now more efficiently de-dupe AST nodes, significantly improving performance in cases where schemas emit large unions of complex types.

This supercedes the bandaid in #424.

@bcherny
Copy link
Owner Author

bcherny commented May 15, 2022

#447

@bcherny bcherny closed this May 15, 2022
@bcherny bcherny deleted the perf/hashcode branch May 15, 2022 16:22
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.

1 participant