3 ms·
Haskell doesn't make it clear what things will process the fastest. For example in Java you can use hashmaps or arraylists depending on the situation and it is
by xyzzy4 10y ago
Haskell doesn't make it clear what things will process the fastest. For example in Java you can use hashmaps or arraylists depending on the situation and it is easy to optimize for run time. But I'd have no idea how to do this in Haskell.
- catnaroek 10y agoEfficiency is a matter of using appropriate data structures and algorithms for your problem, regardless of the programming language. Unfortunately, pervasive laziness is a serious disadvantage here. (But being functional is not.)