We currently have list (caches) of all extras that hide any units. When we want to know if unit hidden, we iterate that and check if extra is also native to the unit. We should make more fine grained caching by introducing unit_class specific hiders cache.
We currently have list (caches) of all extras that hide any units. When we want to know if unit hidden, we iterate that and check if extra is also native to the unit. We should make more fine grained caching by introducing unit_class specific hiders cache.
Will benefit #47700