MathGroup Archive 2007

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

Search the Archive

Re: To dual-core or not to dual-core


Another comment on speeding up
Whenever  possible use less general functions, for example
Use Total[list]
in place of Apply[Plus,list]
etc.

yehuda


On 2/18/07, terry <terryisnow at yahoo.com> wrote:
>
> Dear Mathematica Experts,
>
> I currently run simulations in Mathematica 5.2 that take on the order
> of months to complete. These
> simulations all consist of operations like the following:
>
>          1) {a,b,c,...} - {x,y,z,...}
>          2) a - {x,y,z,...}
>          3) a*{x,y,z,...}
>          4) Apply[Plus, Abs[{x,y,z,...}]]
>
> I know that some operations in 5.2 will automatically take advantage
> of mulitple cores if they
> exist on a machine, splitting up the work automatically across cores
> without any custom coding
> on the users part, but does this apply to operations like the ones
> I've listed above?
>
> Any and all insights are graciously appreciated!
>
> Terry
>
>
>


  • Prev by Date: Re: Find index of maximal element in multi-dimensional array
  • Next by Date: Re: Precision issues
  • Previous by thread: Re: To dual-core or not to dual-core
  • Next by thread: explanation need!