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
log function without evaluate arguments
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-07 (03:39)
From: Christopher L Conway <cconway@c...>
Subject: Re: [Caml-list] log function without evaluate arguments
On 11/6/07, Brian Hurt <bhurt@janestcapital.com> wrote:
>  Also, creating a lazy thunk in Ocaml is expensive (like 140+ clock cycles),
> while passing an argument into a function is cheap- and the common case will
> be that the argument won't need to be evaluated, just passed in.

What does this mean? Did OCaml become non-strict while I wasn't looking?