Parallelizing the compiler via two-pass compilation


#1

Greetings fellow scalamaris,

I’ve been experimenting with a very simple parallelization strategy in Dotty which is already giving encouraging results (2x speed-up on a quad-core laptop), the strategy is not specific to Dotty and could just as well be applied to Scala 2, check out https://github.com/lampepfl/dotty/pull/4767 for more details, and let me know what you think!