English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Comparison of OCaml and MLton for numerics
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-06-01 (06:36)
From: Yuanchen Zhu <yzhu@f...>
Subject: Re: [Caml-list] Comparison of OCaml and MLton for numerics
> I agree that more optimization by the OCaml compiler might be nice (e.g.
> specializing higher-order functions over float arrays) but I do not believe
> it would have helped in this case.
Haven't the tests shown that specializing higher-order functions would
help A LOT in this case? Running time is almost halfed when the
high-order function is manually expanded using for-loops and reference
cells, approaching that of MLton.