Skip to content

Reuse compilation unit parser #141

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

Open
khatchad opened this issue Dec 26, 2017 · 0 comments
Open

Reuse compilation unit parser #141

khatchad opened this issue Dec 26, 2017 · 0 comments

Comments

@khatchad
Copy link
Member

As of d99dd13, an AST is being parsed in Util.getPossibleTypesInterprocedurally(). This causes two problems:

  1. It doesn't use the cache in ConvertToParallelStreamRefactoringProcessor.getCompilationUnit().
  2. It counts against our run time, which we are supposed to exclude AST buid time.

Notes

We can possible put the cache in a third calss, but getting the time collector down to the Util method is a pain. May want to wait for #2.

khatchad added a commit that referenced this issue Dec 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant