fast-anything ports slow functions to Rust and checks up to 500 calls

Each port is a one-function Rust crate that compiles in seconds and shares a single .fast/target cache.

· added · Source: github.com

fast-anything Benchmark and Requirements
Python dedupe benchmark
4.91s reduced to 42ms (116x speedup)
Eligible functions
Top-level, deterministic, plain data only
Verification rules
Checks up to 500 calls, edge cases, and per-call speed
Install and toolchain
npm or cargo install; requires local Rust toolchain
Agent integration
Claude Code, Codex, stdin prompt, or built-in MCP
github.com

It works with Claude Code, Codex, any command that reads a prompt on stdin, or an MCP server built into the binary.

A port is not enabled if any recorded or edge case fails, or if calling into Rust is slower per call than the original.

This matters to builders with slow functions in Python, Node, Ruby, Go, Java, C#, PHP, C, C++, Kotlin, or R apps who do not want a full Rust rewrite.

Install fast-anything with npm or cargo and run fast-anything doctor to check your Rust toolchain, runtimes, and coding agents.