Skip to content

Micro-optimizations #17

Description

@mxmgorin

Small wins to pick up after the event scheduler (#16). Measure before/after.

Scope

  • PixelFifo as bitplane shift registers (collapse push/pop to shifts; keep sprite color resolution at push time)
  • #[cold] / #[inline(never)] on cold step-blob branches (mix recompute, TIMA overflow, mode transitions, trigger paths) to relieve register pressure
  • Sweep-pipeline idle gate (fast-out when the whole sweep state machine is idle; must not disturb same-suite-calibrated behavior)
  • PeriodTimer::just_reloaded as a timestamp instead of a per-tick countdown
  • OAM/VRAM-DMA idle event-gating (similar to serial)

Metadata

Metadata

Assignees

Labels

perfPerformance

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions