common-subexpression-eliminator

Community

Optimize code by eliminating redundant computations.

Authorrainoftime
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the inefficiency in code caused by repeated calculations of the same expression, leading to performance bottlenecks.

Core Features & Use Cases

  • Redundancy Identification: Detects identical subexpressions within code.
  • Value Reuse: Replaces duplicate computations with a single computed value.
  • Use Case: When building an optimizing compiler, this skill can be integrated to significantly speed up program execution by ensuring that expensive calculations are performed only once.

Quick Start

Use the common-subexpression-eliminator skill to optimize the provided C++ code snippet for common subexpressions.

Dependency Matrix

Required Modules

ssa-constructor

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: common-subexpression-eliminator
Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#common-subexpression-eliminator

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.