Parallelizing the compiler via two-pass compilation

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 for more details, and let me know what you think!