3 ms·
>It was very frustrating to try reasoning about performance in Haskell due to its laziness. Conversely, I find it hard to achieve the same performance with str
by vmchale 9y ago
>It was very frustrating to try reasoning about performance in Haskell due to its laziness.
Conversely, I find it hard to achieve the same performance with strict code. I think it's likely a matter of familiarity.
>Haskell is notorious in my mind for being quite easy to write obscenely slow code in.
The standard prelude is flawed in many ways. Haskell 2020 will hopefully fix this. In the meantime: the recursion-schemes library might be of great use.