3 ms·
It is heavily dependent on the type of code you write. For example, ternary operators can take several hundreds of milliseconds or even entire seconds each to c
by opencl 8y ago
It is heavily dependent on the type of code you write. For example, ternary operators can take several hundreds of milliseconds or even entire seconds each to compile while an equivalent if statement is orders of magnitude faster[1]. Anything with type inference also tends to compile very slowly.
[1] https://bugs.swift.org/browse/SR-1577 https://bugs.swift.org/browse/SR-1577