Skip to content

Make dotc faster #9498

Open
Open
@odersky

Description

@odersky

This issue collects items that should be looked at in the work to improve performance of dotc.

The following items should definitely be worked on:

  • Port the improvements to classpath handling from scalac 2.13
  • Port the improvements to classfile parsing from scalac 2.13
  • Write class files in parallel, like scalac 2.13
  • Finish the implementation of function specialization. Profiles show that we get quite a bit of unexpected boxings in the compiler due to the fact that function types are not yet specialized.
  • Go through the previous benchmark results and identify the (top 20-30) commits that caused a performance loss.

The following items are more for exploration:

  • See whether we can replace some usages of lists with arrays, with the aim of getting better locaility
  • See whether we can parallelize more code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions