Skip to content

Resolve "Fix quadratic time complexity for increasing of numer of species with no reactions"

What does this MR do?

This MR basically moves the read of the reactions and its jacobians within the components loop. This reduced the complexity from quadratic to linear in cases where no interactions between species are needed. The source of this performance issue was explored using the llvm-xray-tools.

Can this MR be accepted?

Related issues

Closes #53 (closed)

Edited by Santiago Ospina De Los Ríos

Merge request reports

Loading