9 ms·
How much does this much use of the type system's invariant enforcement increase compilation time? (still just getting into Haskell)
by kd0amg 16y ago
How much does this much use of the type system's invariant enforcement increase compilation time? (still just getting into Haskell)
- Zaak 16y agoThat's a very interesting question. I made a stab at removing the invariant enforcement from the AVL tree code, but it was more involved than I expected. In this specific case, it doesn't matter much since compilation takes less than a second on my underpowered netbook. I'm curious whether it's an issue for a program of significant size.