David Walker 9c9a69f2e2 NETSCRIPT: Add ramOverride() function (#1346)
This adds a way to dynamically change the static RAM limit of a script,
which is also its current RAM usage. This makes it possible for scripts
to dynamically change their memory footprint, opening up new strategies
beyond current ram-dodging.

Calling functions still permanently increases the *dynamic* memory
limit; RAM-dodging is still the optimal strategy for avoiding RAM costs,
in that sense.

This also adds dynamicRamUsage to the info returned by
`getRunningScript`, to allow introspection on the currently needed ram.
2024-06-28 18:42:20 -07:00
..
2023-06-20 18:25:27 -04:00
2024-02-26 09:51:48 -05:00
2023-10-23 07:32:46 -04:00
2024-01-31 19:37:08 -05:00
2023-03-08 01:39:05 -05:00
2023-03-08 01:39:05 -05:00
2023-03-08 01:39:05 -05:00
2023-03-08 01:39:05 -05:00
2024-03-04 09:51:34 -05:00
2023-03-08 01:39:05 -05:00
2023-03-07 08:04:08 -05:00
2023-06-20 18:25:27 -04:00
2023-03-08 01:39:05 -05:00
2023-03-08 01:39:05 -05:00
2023-03-08 01:39:05 -05:00
2023-03-08 01:39:05 -05:00
2023-06-20 18:25:27 -04:00
2023-06-20 18:25:27 -04:00
2023-08-01 01:53:10 -04:00
2023-08-01 01:53:10 -04:00
2023-08-01 01:53:10 -04:00
2023-12-07 21:26:28 -05:00
2023-12-07 21:26:28 -05:00
2023-06-20 18:25:27 -04:00