Re: To dual-core or not to dual-core
- To: mathgroup at smc.vnet.net
 - Subject: [mg73515] Re: [mg73469] To dual-core or not to dual-core
 - From: bsyehuda at gmail.com
 - Date: Wed, 21 Feb 2007 01:38:35 -0500 (EST)
 
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
>
>
>