memilio
memilio copied to clipboard
Improve TestingStrategy performance
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