Skip to content

Conversation

@DarkDimius
Copy link
Contributor

Speeds up annotation transformers.
Also speeds up other initializations by calling .getClass less times.

@DarkDimius
Copy link
Contributor Author

@odersky please review.

@odersky
Copy link
Contributor

odersky commented Dec 14, 2014

LGTM for now. I think we might profit from re-thinking TreeTransformers. It feels like we should be able to arrive at a simpler implementation, now that we know more about the actual use cases.

odersky added a commit that referenced this pull request Dec 14, 2014
Precompute NXTransforms to speedup repeated application of TreeTransformer.macroTransform
@odersky odersky merged commit d084887 into scala:master Dec 14, 2014
@allanrenucci allanrenucci deleted the cache-nx-info branch December 14, 2017 16:58
tgodzik added a commit to tgodzik/scala3 that referenced this pull request Apr 29, 2025
Backport "Fix scala#21242: Add REPL flag to quit after evaluating init script" to 3.3 LTS
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.

2 participants