Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on optimizing Mathematica code for higher performance. This may mean faster execution, lower memory usage or both. Not to be confused with mathematical optimization.
3
votes
how can I avoid CPU waste (by master kernel) using WaitNext?
This may be system or version dependent, as I don't get the same behavior. On Mathematica 8, OS X, using this line on a fresh kernel:
$ProcessID
WaitAll[{ParallelSubmit[While[True, Null]]}]
I get t …
8
votes
Accepted
Passing large list by reference
Would this work for you?
makeList[symb_, l_] := Module[{x},
symb /: list[symb] := x;
symb /: updateList[symb, spec_, val_] := (x[[spec]] = val);
symb /: listParts[symb, spec_] := (x[[spec]])
…
7
votes
0
answers
118
views
Does one need to be careful about loading multiple (many) contexts or packages in the same s...
I have a number of large pieces of precomputed data which I am considering putting into individual packages in order to load them (via DeclarePackage) and unload them (via Leonid Shifrin's PackageMani …