Module peppi::frame

source ·
Expand description

Frame data representation.

Peppi represents frame data using Arrow arrays (i.e. “struct-of-arrays”). This allows us to efficiently share frame data with other languages, and enables simple serialization into a highly-compressible disk format.

The mutable/immutable distinction is essentially an artifact of the underlying Arrow library. You’ll only encounter mutable frame data if you’re parsing live games.

Modules§

  • Immutable (fully-parsed) frame data, as Arrow arrays.
  • Mutable (in-progress) frame data.
  • Single-frame representation using normal structs.

Structs§

Enums§

  • Rollback-aware processing typically ignores all but the first or last rollback for a frame.

Constants§

  • Frame indexes start at -123, and reach 0 at “Go!”.