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
- Cryptarithm solver - Haskell vs. C++ Mark Engelberg
- Re: Cryptarithm solver - Haskell vs. C++ Lennart Augustsson
- Re: Cryptarithm solver - Haskell vs. C++ Fergus Henderson
- Re: Cryptarithm solver - Haskell vs. C++ Juergen Pfitzenmaier
- Re: Cryptarithm solver - Haskell vs. C++ Adrian Hey
- Re: Cryptarithm solver - Haskell vs. C++ Manuel M. T. Chakravarty
- Re: Cryptarithm solver - Haskell vs. C++ Lennart Augustsson
- Re: Cryptarithm solver - Haskell vs. C++ Lennart Augustsson
- Re: Cryptarithm solver - Haskell vs. C++ Bart Demoen
- Re: Cryptarithm solver - Haskell vs. C++ Herbert Graeber
- Re: Cryptarithm solver - Haskell vs. C++ Fergus Henderson
- Re: Cryptarithm solver - Haskell vs. C++ Manuel M. T. Chakravarty
