mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
- Tweaked the pressure delta check to "> 0.5", so pumps will stop transferring minor volumes of air every tick (because a delta of 3.05176e-005 is still greater than 0). This also reduces the calls to gas_mixture/merge() and gas_mixture/remove() significantly once the air in the environment has equalized. The results after running the game for 10 minutes: ``` Proc Name Self CPU Total CPU Real Time Calls /obj/machinery/atmospherics/unary/vent_pump/process 0.035 0.141 0.141 3808 <- before /obj/machinery/atmospherics/unary/vent_pump/process 0.014 0.042 0.043 3808 <- after ```