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
ocaml and int64
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-02 (00:54)
From: Ludovic Coquelle <lcoquelle@g...>
Subject: ocaml and int64

I wrote a direct translation of a simple algo from F# to ocaml.
(details can be found here:

The compile F# program (12s) is much faster than Ocaml (30s), probably
because the algo do integer arithmetic with Int64 module (thanks to David
for this info).

Have someone here face this kind of problem (optimizing a code doing
arithmetic on big integer)?
Any advice to improve the Ocaml code (without changing the algo)?