DOC: Add FAQ and another JIT batcher illustration to documentation (#2400)

This commit is contained in:
EntenBu
2025-12-18 04:30:58 +07:00
committed by GitHub
parent 968c0c2a8c
commit 6f9447e27e
5 changed files with 85 additions and 25 deletions

View File

@@ -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.