Fast compilation is a worth goal, but it&#x27;s not fundamentally different from optimizing other kinds of programs: it involves good selection of data structures and algorithms, smart caching, that sort of stuff.<p>Compiler optimization (in the sense of optimizing the emitted code) is a research area of its own with millions of man hours invested.