Skip to content

v1.0.1 — Battlegrounds, and a much faster start

Choose a tag to compare

@Ratpido-dev Ratpido-dev released this 01 Sep 13:29
· 30 commits to main since this release

Fixed

  • Battlegrounds and Mercenaries are now ignored. Cairn kept showing the
    constructed deck from your previous game on top of a Battlegrounds match, and
    then recorded that match into your win rates. These modes have no deck, so they
    are now excluded from both the overlay and the history.

Performance

A single Battlegrounds game writes ~86 MB of log, against ~5 MB for a constructed
one. Starting Cairn on such a session froze the interface.

  • The log is now read in 8 MB slices instead of one large block.
  • Deckless games are skipped without being parsed.

Measured on a 104.7 MB log: freeze 1,520 ms → 145 ms, peak memory
534 MB → 144 MB, full catch-up 1.52 s → 1.13 s.

393 tests.