mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
DOC: Add FAQ and another JIT batcher illustration to documentation (#2400)
This commit is contained in:
@@ -29,7 +29,7 @@ Cons:
|
||||
- Limits income generation
|
||||
- Extremely [RAM](../basic/ram.md) inefficient
|
||||
- Utilizes script online time poorly
|
||||
- Risk of over hacking
|
||||
- Risk of over-hacking
|
||||
- Slow to start producing money
|
||||
|
||||
This is the self-contained algorithm implemented in `early-hack-template.js`. Each script is tasked with choosing which function to execute based on the status of the target server.
|
||||
@@ -186,6 +186,23 @@ Shotgun batchers are not very RAM efficient because the scripts take up RAM duri
|
||||
|=Weaken=============|
|
||||
|=Weaken=============|
|
||||
|
||||
Or:
|
||||
|
||||
|Hack=|
|
||||
|=Weaken=============|
|
||||
|=Grow===========|
|
||||
|=Weaken=============|
|
||||
|Hack=|
|
||||
|=Weaken=============|
|
||||
|=Grow===========|
|
||||
|=Weaken=============|
|
||||
|Hack=|
|
||||
|=Weaken=============|
|
||||
|=Grow===========|
|
||||
|=Weaken=============|
|
||||
|
||||
\*For illustrative purposes only.
|
||||
|
||||
By weaving batches between each other, JIT batchers maximise the effectiveness of the RAM at the cost of very precise timing constraints.
|
||||
Good communication between worker scripts and the controller is necessary to schedule the next batch at the right time.
|
||||
The controller must have an effective method to predict which scripts need to be launched.
|
||||
|
||||
Reference in New Issue
Block a user