SciCompMod / memilio

Modular spatio-temporal models for epidemic and pandemic simulations
https://scicompmod.github.io/memilio/
Apache License 2.0
55 stars 16 forks source link

Performance should be dependent on infected persons #1115

Open xsaschako opened 3 months ago

xsaschako commented 3 months ago

Motivation / Current Behaviour

Currently it doesnt make a huge difference, if a lot of people are infectious for the runtime. But it should, as we do alot of unneccessary work.

Enhancement description

We need to just do it for a cell/location with a transmission risk. Currently we do this for every location.

Additional context

No response

Checklist

xsaschako commented 3 months ago

On paper branch: when caching exposure rate flag location as infecitous. On main: probablysame

xsaschako commented 3 months ago

first tests on main show a 20% performance gain