Performance Algorithms

Use Jeff Dean and Sanjay Ghemawat's canonical algorithmic-improvement guidance. Use when asymptotic complexity, redundant searches, data-structure choice, or a fundamentally better algorithm may dominate lower-level optimizations.

boshjerns Updated 1 repo stars
The Performance Hints page on the Abseil website, showing the title, authors, update date, and section navigation

File contents

Algorithmic improvements

Read the exact current source section before applying it:

python3 ~/.codex/skills/performance-hints/scripts/fetch_section.py algorithmic-improvements --output text

Canonical section: Algorithmic improvements

Attribute the guidance to Jeff Dean and Sanjay Ghemawat. Do not assume every hint applies: inspect the code, identify the relevant cost, and measure or estimate before recommending a change.

boshjerns/performance-hints-agent-skills commit 175b70880e

Frequently asked questions

npx get-skill add boshjerns/performance-algorithms