When Types Get Slow: The Recursion Limit and Compiler Performance
Type-level programs run inside the compiler, so a careless type can stall your editor or hit a hard wall. The depth limits, union explosions, and the diagnostics that show you where the time goes.
Read article