Merge 2.12.x to 2.13.x [ci: last-only]#8242
Merged
lrytz merged 27 commits intoscala:2.13.xfrom Jul 18, 2019
Merged
Conversation
Member
retronym
commented
Jul 17, 2019
Rule out some cases by the type of tree of flags before looking at the symbol's info.
Binary compatibilty constraints won't let us actually do this as an override in `List` (we tried that originally but reverted.) But we are free to type-case List in the inherited implementation.
[nomerge] remove unused import.
Reduce the number of substituting type maps that underlie `Type.dealias` by using `Type.normalize` which internally caches its result.
Optimize check for by-name expressions
Reduce allocations for virtual compilation units
Optimize macro plugin infrastructure to reduce allocations
…#8230) Hoist creation of SubstSymMap out of hot loop in deriveSymbols
Otherwise, the `enableOptimizer` settings that are enabled by `setupPublishCore` and friends doesn't have the desired effect.
[nomerge] use 'in Compile' for new scalacOptions
Optimise implicit search
- Optimize ClassTag.apply to avoid testing for primitive classes one-by-one.
- Share instance of ClassTag in a ClassValue based cache and rely on
this in the compiler where we had previously hoisted hot instances.
Share instance of ClassTag in a ClassValue based cache
My refactoring to use nio.file.Path to represent relative paths was wrong-headed -- it is too easy to call .toString and get the system default file separator in places where we actually really want a '/'. Also fix regression in t5717 test on Windows
(cherry picked from commit 09398b4)
Fixes for windows regressions in classfile writing
…la#8238) [backport] Optimize some hot callers of Symbol.name to use rawname
[backport] List.filter optimizations from 2.13.x
Skipping backports
Skipping 2.12.x specific regression fix in backport
Skipping backports
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.