ze-find-alloc
OfficialAudit Ze's encoding paths to cut allocations.
Authorze-software
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Ze allocator audit identifies and reduces avoidable allocations in Ze wire-encoding paths, helping improve runtime performance and GC efficiency.
Core Features & Use Cases
- Scan production Go sources for allocation-heavy patterns such as Pack() []byte, Encode*() []byte, make([]byte, ...), inline byte-slice builders, and append-driven wire construction.
- Classify findings by impact (hot path, attribute, NLRI, capability, API builder, plugin path, utility) and produce per-file reports with current WriteTo coverage and migration targets.
- Generate prioritized migration targets to guide refactors and performance improvements in the Ze codebase.
Quick Start
Run an audit against the Ze repository to identify allocation-heavy encoding patterns and prioritize safe migration targets.
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: ze-find-alloc Download link: https://github.com/ze-software/ze/archive/main.zip#ze-find-alloc 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 471,000+ vetted skills library on demand.