[StructureLab] runReaction extremely expensive
The runReaction call of labs takes an extreme amount of CPU to run. It currently costs 0.55 CPU. According to the tooltip it should be near 0.2 CPU:
When 31 rooms are running reactions this tends to add up quite a bit. Could you look into this?
After extensive debugging it seems to be related to this line of code being hit 3 times.
sparr last edited by
@ link to source code with bug report!