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
Question on performance/style issue
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-02-24 (15:52)
From: Alessandro Baretta <a.baretta@s...>
Subject: Question on performance/style issue
I am very fond of the following "duality" operator.

let (++) x f = f x

I use to write complex computations legibly: instead of
 > h(g(f(x)))
I write
 > x ++ f ++ g ++ h

What is the impact of the this programming style on execution performance?

Alex

-- 
*********************************************************************

Ing. Alessandro Baretta

Studio Baretta
http://studio.baretta.com/

Consulenza Tecnologica e Ingegneria Industriale
Technological Consulting and Industrial Engineering

tel. +39 02 370 111 55
fax. +39 02 370 111 54