[Haskell-cafe] Re: Timing difference
Max Vasin
max.vasin at gmail.com
Thu Dec 25 05:21:04 EST 2008
Aai пишет:
> Hi Bulat,
>
> That I (can) understand, but of course the main question is: is point
> free in (some/several/all) cases faster than the more readable lambda
> construction? That's to say when executed in GHCi. I noticed this
> behavior before (pity I haven't other examples at hand). In prog. lang.
> J ( http://www.jsoftware.com/index.html ) I see the same behavior
> difference with tacit (like point free) and explicit programming: tacit
> being faster in several (not all) occasions.
You should write cleanest code. Optimize only when absolutely necessary
(and in this case you'll definetly will use a compiled version instead
of interpreted).
--
WBR,
Max Vasin.
More information about the Haskell-Cafe
mailing list