Speed up access to species counts and concentrations: eliminate lookups, extra objects and memory allocation/deallocation
For maximum speed, don't use Python's eval() -- convert expressions into trees, & use an evaluator that can process operators, literals, and Python functions
Before doing 2., estimate how much it would improve performance
eval()
-- convert expressions into trees, & use an evaluator that can process operators, literals, and Python functions