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

add memoization to agree type system #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tlogan
Copy link
Contributor

@tlogan tlogan commented Mar 22, 2020

I've made a few changes to increase the responsiveness of the eclipse UI.

  1. memoize agree type inference
  2. change type checking to be triggered on saves (NORMAL setting)
  3. remove unnecessary scoping computation.

Things to double check:

  • There isn't any use of stale memoized results.
  • The removed code is actually unnecessary.

remove extra scoping methods
change type check to normal (check on save)
@tlogan
Copy link
Contributor Author

tlogan commented Apr 2, 2020

Changes suggested by Karl:

  • undo changes to package version numbers in manifest files.
  • change AGREE validation type check to EXPENSIVE mode.
  • create parallel validation methods with FAST mode that checks a new menu setting either calls the EXPENSIVE method or not.
  • modify infer method in AgreeTypeSystem to memoize or not based on a new menu setting.

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