[Haskell-cafe] OCaml list sees abysmal Language Shootout results

Henning Thielemann iakd0 at clusterf.urz.uni-halle.de
Tue Sep 28 07:24:22 EDT 2004

On Tue, 28 Sep 2004, Tomasz Zielonka wrote:

> Changed readArray to unsafeRead, and it is 47 times faster now.
> I must say I am pleasantly surprised that GHC managed to unbox
> everything there was to unbox without much annotations. For 5MB file the
> program allocated only 192KB in the heap. Especially optimisation of
> higher-level constructs like 'fmap (toEnun . fromEnum) ...' is very
> nice.

Now I like to see an implementation which is both elegant and fast ... 


More information about the Haskell-Cafe mailing list