memilio icon indicating copy to clipboard operation
memilio copied to clipboard

Improve TestingStrategy performance

Open reneSchm opened this issue 1 year ago • 0 comments

Motivation / Current Behaviour

TestingStrategy uses somewhat expensive lookups to find entries, which can be replaced as we separated LocationType from LocationId.

Enhancement description

  • Replace scheme storage, e.g. by two vectors (one for type, one for id).
  • Update names, e.g. m_location_to_schemes_map is not a map.

Additional context

See discussion in PR #863, e.g. https://github.com/SciCompMod/memilio/pull/863#issuecomment-2233254451

Checklist

  • [X] Attached labels, especially loc:: or model:: labels.
  • [X] Linked to project

reneSchm avatar Jul 19 '24 08:07 reneSchm