2 ms·
I agree, but what you are asking is impossible in the general case. The compiler can’t know what is hot and cold without PGO, and doing dynamic dispatch in deve
by orf 4y ago
I agree, but what you are asking is impossible in the general case. The compiler can’t know what is hot and cold without PGO, and doing dynamic dispatch in development to speed up compilation seems iffy.
Surely a better approach is to use incremental compilation, and only do this expensive stuff potentially only once?
However I do agree with your overall point - dev compilation in rust is too slow.