Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!l9g2000yqi.googlegroups.com!not-for-mail
From: Rune Allnor <allnor@tele.ntnu.no>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Minor disappointment with Matlab
Date: Sat, 5 Sep 2009 03:35:42 -0700 (PDT)
Organization: http://groups.google.com
Lines: 12
Message-ID: <84777fdd-4a95-420b-a9da-e9d8e317cde9@l9g2000yqi.googlegroups.com>
References: <25f0b0e8-fa6b-4283-81eb-d3bfebeb4a97@c37g2000yqi.googlegroups.com> 
	<h7s406$m8j$1@fred.mathworks.com>
NNTP-Posting-Host: 77.16.173.168
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1252146942 878 127.0.0.1 (5 Sep 2009 10:35:42 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 5 Sep 2009 10:35:42 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l9g2000yqi.googlegroups.com; posting-host=77.16.173.168; 
	posting-account=VAp5gAkAAAAmkCze5hvZtMeedpZWNthI
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
	Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; 
	.NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:568520


On 5 Sep, 00:23, "James Tursa"
<aclassyguy_with_a_k_not_...@hotmail.com> wrote:
> Dan <dnp...@yahoo.com> wrote in message <25f0b0e8-fa6b-4283-81eb-d3bfebeb4...@c37g2000yqi.googlegroups.com>...
> > The other day, because some of my simulation code was taking a long
> > time to run, I spent some time trying to optimize the algorithm.
...
> To be fair, the built-in cross is vectorized, does argument checking, and allows the dimension used for the cross to be specified.

...all of which takes place at *run* time. A compiled
language would do a lot (all?) of that at *compile* time.

Rune