bitburner-src/test/jest/Netscript
David Walker 34db6e8b26
NETSCRIPT: Rework disableLog for efficiency (#1589)
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.
2024-08-16 19:10:20 -07:00
..
Bladeburner.test.ts BLADEBURNER: Add API to calculate max upgrade count of skill (#1475) 2024-08-16 13:15:20 -07:00
DisableLog.test.ts NETSCRIPT: Rework disableLog for efficiency (#1589) 2024-08-16 19:10:20 -07:00
RamCalculation.test.ts MISC: Support JSX, TS, TSX script files (#1216) 2024-07-14 14:47:10 -07:00
RunScript.test.ts API: make ns.atExit add the callback to an array instead of setting it (#1059) 2024-03-05 19:22:45 -05:00
StaticRamParsingCalculation.test.ts MISC: Support JSX, TS, TSX script files (#1216) 2024-07-14 14:47:10 -07:00