You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In profiling, a lot of time is taken in SymptomManager. This is because it is designed to do a lot of checking (that the symptom exists, and the disease is allowed to apply it, and when its resolved its only resolved by the disease that caused it).
Whilst these checks are useful in development, now that we never have problems, we can dispense with these checks.
We should we create a drop-in replacement for SymptomManager that has the same functionality and interface, but internally does the simplest and quickest thing possible. This could be making all the symptoms columns bools
The text was updated successfully, but these errors were encountered:
tamuri
changed the title
Make Fast Version of Symptom Manager
Make fast version of SymptomManager
Feb 28, 2025
In profiling, a lot of time is taken in
SymptomManager
. This is because it is designed to do a lot of checking (that the symptom exists, and the disease is allowed to apply it, and when its resolved its only resolved by the disease that caused it).Whilst these checks are useful in development, now that we never have problems, we can dispense with these checks.
We should we create a drop-in replacement for
SymptomManager
that has the same functionality and interface, but internally does the simplest and quickest thing possible. This could be making all the symptoms columnsbools
The text was updated successfully, but these errors were encountered: