3 ms·
I wonder if the author would have achieved similar results just by enabling the -XStrict language extension from the start.
by logicchains 6y ago
I wonder if the author would have achieved similar results just by enabling the -XStrict language extension from the start.
- snawaz 6y agoI didn't know that. I'll try that. Thanks for mentioning it.
- hopia 6y ago-XStrict is almost never optimal in Haskell as a lot of the optimizations ultimately rely on lazy evaluation. I think more appropriate would be to try out -XStrictData instead.
- appleflaxen 6y agoi would be interested in follow-up regarding whatever you find.