Of course it does, but the cost increases non-linearly and you have to find the right trade-off for the situation at hand. Do you want maintainability or absolute performance?
> Provide some!
Of course one could, but that would that accomplish? Everyone who thinks these benchmarks have value just looks at the fastest-performing version of $YOUR_LANG_BENCHMARK. Hint: Mostly it won't be idiomatic regardless of the value of $YOUR_LANG.
Do you think the source code for those optimized for the last bit of performance programs tells us something about that?
>Of course one could, but what would that accomplish?<
Could one? Perhaps there'd be complaints that your "idiomatic programs" were just naïve.
A passive website like the benchmarks game can never be enough, by itself, to educate and inform all (or even most) readers -- reading selectively is far too commonplace and errare humanum est.
The benchmarks game is a resource. There are enough examples that when someone draws a misinformed conclusion, we can usually show them a counter-example and ask them to think.
But only if someone contributes those (whatever they consider idiomatic to be) idiomatic programs as counter-examples.
This otoh: http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...
>Foreign.Ptr (and companions) are hardly ever used in normal Haskell code unless you're optimizing for that last bit of performance<
Do you think "optimizing for that last bit of performance" doesn't happen in the wild?
>IMO they should at least use idiomatic code<
Provide some!
http://benchmarksgame.alioth.debian.org/play.php#contribute
GHC 7.8.2 installed, cabal 1.2 stuff available as-needed.