Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.