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: David Brown <caml-list2@d...>
Subject: Re: [Caml-list] Re: Question on performance/style issue
On Mon, Feb 27, 2006 at 05:37:37PM -0500, David M. Cooke wrote:
> Andrej Bauer <Andrej.Bauer@andrej.com> writes:
> 
> > On Friday 24 February 2006 20:25, Alessandro Baretta wrote:
> >> Anil Madhavapeddy wrote:
> >> >>>x ++ f ++ g ++ h
> >> >>
> >> >>What is the impact of the this programming style on execution
> >> >> performance?
> >
> > 1. It should be easy enough to extend the syntax so that you don't have to 
> > worry about it getting compiled away.
> >
> > 2. Mathematica uses notation x // f. Why not use the same? Many people will 
> > misunderstand ++ as something coming from C.
> 
> Those of use who don't use Mathematica will misunderstand that as a
> comment (from C++), or an integer divide (Python), or ...?

Well, I see ++ as string or list append, since that's what Haskell uses.

Dave