![]() Volume 9, Issue 4 Articles Tricks of the Trade In and Out Trott's Corner New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff and Contributors Submissions Subscriptions Advertising Back Issues Contact Information |
T R O T T ' S C O R N E R
Building Hash TablesA more detailed version of the sample analysis just described is carried out on all 90,000 identities of the Wolfram Functions site. This one-time processing procedure takes a few hours. Then the connections identity->listOfIngredients are reversed and large hash tables of the form ingredient->listOfIdentities are constructed. While quite large, such tables allow for a very fast lookup, which is of constant time and independent of the length of the table. The ingredients are sorted into four categories: functions (such as Sin, BesselJ), constants (such as Pi, E), numbers (such as (2, 3, 1729), and operations (such as Sum, Integrate). Integrals are classified as definite versus indefinite. Here are a few example counts.
|
||||||||||||||||||||||||||||||||
About Mathematica | Download Mathematica Player © 2005 Wolfram Media, Inc. All rights reserved. |