# 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.

- Skill: `boshjerns/performance-algorithms` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add boshjerns/performance-algorithms`
- Raw SKILL.md: https://api.skillmd.com/api/skills/boshjerns/performance-algorithms/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: boshjerns (https://skillmd.com/u/boshjerns)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/boshjerns/performance-algorithms

---


# Algorithmic improvements

Read the exact current source section before applying it:

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

Canonical section: [Algorithmic improvements](https://abseil.io/fast/hints#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.


