mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 07:33:48 +01:00
34db6e8b26
The current implementation was naive; disableLog("ALL") was storing a key for every function, and iterating over a different object to do it (when iterating over objects is quite slow). The common cases of Bitburner (and especially batching, where efficiency matters most) are either never disabling anything, or disabling "ALL". This optimizes for these two cases, at the expense of slightly more complicated code to deal with the less-common edge cases. |
||
---|---|---|
.. | ||
Bladeburner.test.ts | ||
DisableLog.test.ts | ||
RamCalculation.test.ts | ||
RunScript.test.ts | ||
StaticRamParsingCalculation.test.ts |