Files
Bubberstation/code/modules/reagents
SyncIt21 1be33aaaad Improves performance of 2 reagent operations (#84411)
## About The Pull Request
1. Removes **2 WHOLE** `update_total()` calls from `trans_to()`. This is
the hottest proc in plumbing & in a large majority of other reagent
operations so it's a big win. `add_reagent()` & `remove_reagent()`
already calls `update_total()` for us so we don't need them. Its free
performance!!
2. `remove_reagent()` only calls `update_total()` & `handle_reactions()`
once when removing subtypes of a reagent compared to repeatedly calling
these hot procs every iteration

## Changelog
🆑
code: Improves cpu performance of transferring & removing reagents
/🆑
2024-07-03 22:50:34 +02:00
..