stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 308

Day 308 of 365 · Expert · Month 11: Optimisation and debugging

Review week 44: optimisation

Ten questions on optimisation week: what counts towards the limits, saving characters and lines, the instruction budget per tick and fast patterns.

Review 12 min Week 44

What you learn today

  • Quiz on limits, characters and ticks

This week was about the chip's limits and how to stay below them. For review:

  • Limits: 128 lines (every line counts), 90 characters per line (with comment), 4096 characters in total (with line breaks). The long form is counted, HASH("…") in full.
  • Saving characters: move long docs out, delete superfluous comments, shorten names only in moderation. The game version removes comments and blank lines.
  • Saving lines: select and comparison instructions instead of jumps, subroutines, loops with name tables.
  • Instruction budget: 128 steps per tick, every line passed costs one – comments and labels too. Long work in portions, important things right after the yield.
  • Fast patterns: batch instead of loops, read values once, only write on change.

You pass from 60 %.

Weekly quiz

10 questions. You pass from 60 % – the server does the grading.

Complete the day

  • Passed the quiz with at least 60 %

Without an account progress is saved in this browser only.

Report a mistake in this lesson

Please sign in to report. Sign in

Esc
↑ ↓ selectEnter open/ opens search anywhere