Slides from a talk I gave at Func Prog Sweden. First I discuss the incremental compilation algorithm used to compile Scala code by build tools such as sbt and Mill.
Next I explore other ways to optimise build times, such as build pipelining, and outline typing. I provide benchmarks and profiling data to demonstrate the effects of these modes of compilation.