The change to do compareAlias early caused a dramatic slowdown of compilation compileStdLib went from 45 sec to 230 sec. The problem were many redundant tests when every member of an alias chain was compared to every other.
The change to do compareAlias early caused a dramatic slowdown of compilation
compileStdLib went from 45 sec to 230 sec. The problem were many redundant tests
when every member of an alias chain was compared to every other.

The new scheme follows alias chains to their end before doing anything else.

lampepfl/dotty,lampepfl/dotty,dotty-staging/dotty,dotty-staging/dotty,dotty-staging/dotty,lampepfl/dotty,sjrd/dotty,som-snytt/dotty,som-snytt/dotty,densh/dotty,som-snytt/dotty,dotty-staging/dotty,dotty-staging/dotty,lampepfl/dotty,densh/dotty,lampepfl/dotty,som-snytt/dotty,sjrd/dotty,sjrd/dotty,som-snytt/dotty,sjrd/dotty,sjrd/dotty