Re: Speed Tips
- To: mathgroup at smc.vnet.net
- Subject: [mg39608] Re: Speed Tips
- From: "Borut L" <gollum at email.si>
- Date: Wed, 26 Feb 2003 02:41:28 -0500 (EST)
- References: <b3f8c8$d7i$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
> In general one should always use the form > that requires the minimum work for the kernel. So for example: > > Don't use Table[expr,{i,imax}] when Table[expr,{imax}] will work. > Don't use Do[expr,{i,imax}] when Do[expr,{imax}] will work. I think the two iterator specifications {i,imax} and {imax} are two diferent things, are they not? For example,. Table[ Random[],{10}] versus Table[ Random[] + i,{i,10}] Ted, what were you thinking? Borut