Files
Bubberstation/code/modules/reagents
SkyratBot 3633d93e14 [MIRROR] Improves performance of 2 reagent operations (#28595)
* 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
/🆑

* Improves performance of 2 reagent operations

---------

Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
2024-07-04 10:47:55 +05:30
..