Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Speed Tips

  • To: mathgroup at
  • Subject: [mg39608] Re: Speed Tips
  • From: "Borut L" <gollum at>
  • Date: Wed, 26 Feb 2003 02:41:28 -0500 (EST)
  • References: <b3f8c8$d7i$>
  • Sender: owner-wri-mathgroup at

> 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?


  • Prev by Date: signal detector question
  • Next by Date: Domain of Sin[ArcSin[x]] ?
  • Previous by thread: Speed Tips
  • Next by thread: Mathematica Evaluation Process