Optimising Purescript compilation time
At Juspay, we heavily use Functional languages across all the teams and compilation has been a major challenge since most of our codebase are more than 100k lines. Mainly for frontend projects where we use Purescript, generally the changes are value based. Hence the idea of “no change in function’s type signature” shouldn’t trigger compilation on dependent files (Most of the scenarios, when inline optimisation is disabled) was implemented into in-house compilers, this saved the compilation time from 10 minutes to few seconds (average). We are looking forward to doing more optimisations to achieve these numbers in the rest of the scenarios too.