game-perf
CommunitySlash per-frame allocations in game loops.
Software Engineering#optimization#patterns#game-loop#gc#allocation-free#game-performance#scratch-buffer
Authorrbergman
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill reduces per-frame allocations and GC pressure in game loops, enabling smoother frames and lower latency.
Core Features & Use Cases
- Allocation-free patterns for hot-path game code to minimize garbage collection pauses.
- Clear guidance on avoiding common allocations (spread, map, filter, object literals) in tight loops.
- Techniques such as in-place updates, scratch buffers, and object pooling for frequent objects.
- Use Case: when updating many entities per frame, apply these patterns to keep frame budgets stable.
Quick Start
Apply the zero-allocation patterns to a per-frame update loop and verify frame-time improvements.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: game-perf Download link: https://github.com/rbergman/dark-matter-marketplace/archive/main.zip#game-perf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.