Skip to content

Reduce allocations for virtual compilation units#8229

Merged
lrytz merged 1 commit intoscala:2.12.xfrom
retronym:topic/unit-depends
Jul 16, 2019
Merged

Reduce allocations for virtual compilation units#8229
lrytz merged 1 commit intoscala:2.12.xfrom
retronym:topic/unit-depends

Conversation

@retronym
Copy link
Member

As previously structured, a new empty HashSet was being allocated
for each call to Infer.checkAccessible (!)

@scala-jenkins scala-jenkins added this to the 2.12.9 milestone Jul 16, 2019
@retronym retronym added the performance the need for speed. usually compiler performance, sometimes runtime performance. label Jul 16, 2019
@lrytz lrytz merged commit 4ab773f into scala:2.12.x Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance the need for speed. usually compiler performance, sometimes runtime performance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants