inline-expander

Community

Optimize code by expanding functions.

Authorrainoftime
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the performance overhead associated with function calls by replacing them with the actual code of the called function, leading to faster execution and enabling further compiler optimizations.

Core Features & Use Cases

  • Call Site Inlining: Replaces function calls with the callee's body.
  • Parameter Substitution: Manages the substitution of function arguments.
  • Heuristic Decision Making: Selects appropriate functions for inlining to balance performance gains against code size.
  • Use Case: When building an optimizing compiler, use this skill to eliminate the overhead of small, frequently called helper functions, thereby improving overall program speed.

Quick Start

Apply function inlining to the provided C++ code to optimize performance.

Dependency Matrix

Required Modules

ssa-constructordead-code-eliminator

Components

referencesscripts

💻 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: inline-expander
Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#inline-expander

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.