Re: Re: Opinions about the "Oneliners"
- To: mathgroup at smc.vnet.net
- Subject: [mg40692] Re: [mg40671] Re: Opinions about the "Oneliners"
- From: "Y.A.Tesiram" <yas at pcomm.hfi.unimelb.edu.au>
- Date: Mon, 14 Apr 2003 04:00:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
> >Do, While, and For are often the least efficient (slowest) way to do things > >in terms of execution time. We see this time after time in our function > >wars. > > > > Isn't this just because Mathematica was optimized for functional > programming. Couldn't it be optimized for procedural as well (like > every C compiler) ? It already is. The function Compile is used to remove the overhead that exists in an "intepreted on the fly" language like Mathematica's. Same goes for Compile's equivalents in such languages as Lisp and Perl. Yas