|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Dispatch
DetailsDetails
- The use of Dispatch will never affect results that are obtained, but may make the application of long lists of rules much faster.
- Lists of rules are usually scanned sequentially when you evaluate an expression like
. Rules such as
and
, which cannot simultaneously apply, need not both be scanned explicitly. Dispatch generates a dispatch table which uses hash codes to specify which sets of rules need actually be scanned for a particular input expression. - Lists of rules produced by assignments made with
and
are automatically optimized with dispatch tables when appropriate.
New in 2
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
