4 ms·
> lazy evaluation comes at a pretty extreme performance cost This is surprising to me. I understand it making code harder to debug because timing/ordering is l
by brundolf 3y ago
> lazy evaluation comes at a pretty extreme performance cost
This is surprising to me. I understand it making code harder to debug because timing/ordering is less predictable, but I would expect lazy evaluation to help with performance if anything ("the code doesnt rely on a specific 'when', so the compiler/runtime are free to re-arrange stuff for optimization")
What am I missing?