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

Memoize Passed-By-Name Quats of Asts Ident, Entity, and Others #2084

Merged
merged 3 commits into from
Feb 15, 2021

Conversation

deusaquilus
Copy link
Collaborator

@deusaquilus deusaquilus commented Feb 15, 2021

Recalculation of Quats that are passed by name is expensive and unnecessary since Ast elements are immutable. Once the Quat of an AST element is computed, store it and do not recompute.

  • Unit test all changes
  • Update README.md if applicable
  • Add [WIP] to the pull request title if it's work in progress
  • Squash commits that aren't meaningful changes
  • Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

@deusaquilus deusaquilus merged commit b358484 into master Feb 15, 2021
@deusaquilus deusaquilus deleted the minor_quat_fixes_3 branch July 11, 2021 07:55
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