Mark Engelberg wrote:

>
> This is a huge difference, and makes Haskell look incredibly slow by
> comparison.  The speed difference in this case is well worth the extra few
> lines of code.

Well, Hugs is an interpreter.  Comparing interpreted Haskell with compiled
C++ isn't really fair.  Try compiling yout program with a Haskell compiler,
e.g. hbc or ghc.

--

        -- Lennart





Reply via email to