Skip to content

Evaluate the reaction rates once per output row of the selections - #1413

Closed
luciansmith wants to merge 1 commit into
sys-bio:reaction-rate-selectionsfrom
matthiaskoenig:reaction-rate-selections
Closed

luciansmith wants to merge 1 commit into
sys-bio:reaction-rate-selectionsfrom
matthiaskoenig:reaction-rate-selections

Conversation

@luciansmith

Copy link
Copy Markdown

Selecting a reaction rate evaluated all reaction rates of the model for that one value, so an output row with the reaction rates selected was quadratic in the number of reactions. getSelectedValues evaluates them once per row and reads the selected rates from them.

Pulling this from @matthiaskoenig so we can make further changes (other elements could use the same speedup; steady state selections are still slow).

Selecting a reaction rate evaluated all reaction rates of the model for
that one value, so an output row with the reaction rates selected was
quadratic in the number of reactions. getSelectedValues evaluates them
once per row and reads the selected rates from them.
@luciansmith luciansmith closed this Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants