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