KarrLab / wc_sim

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

Optimization for reaction network dependency analysis #101

Open artgoldberg opened 4 years ago

artgoldberg commented 4 years ago

If a model does not use NRM and does not use reaction_dependency_based cache invalidation then do not call self.obtain_dependencies(model) as dependencies are not needed. This will save significant initialization time and memory demands when simulating large models.