KarrLab / wc_sim

A multi-algorithmic simulator for whole-cell models
MIT License
6 stars 2 forks source link

Improve performance of WC expression evaluation #102

Open artgoldberg opened 3 years ago

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