Game 5 Unit 51 of 128 1 hr learning time
Performance Optimisation
Speed up critical paths and optimise frequently-executed code.
40% of Ink War
Performance optimisation makes the game smoother and more responsive.
Run It
pasmonext --sna inkwar.asm inkwar.sna

Version shows “PHASE 4 V0.3”.
Technique
| Area | Description |
|---|---|
| Loop unrolling | Reduce overhead |
| Register use | Avoid memory access |
| Look-up tables | Pre-computed values |
The Complete Code
This code sample could not be loaded. The file may be missing or the path may be incorrect.
What You’ve Learnt
- Profiling - Identifying bottlenecks
- Cycle counting - Z80 timing
- Optimisation - Speed improvements
What’s Next
Unit 52 adds advanced AI look-ahead.
What Changed
Unit 50 → Unit 51