ultrafast: the 'world's fastest' Python type checker wins benchmarks by hardcoding answers

charliermarsh · x · 2026-12-03

Ruff author Charlie Marsh shared ultrafast, a joke repo billed as the world's fastest Python type checker — 4x faster than ty while passing the full conformance test suite.

The trick: it hardcodes the answers and does no actual type checking. The README states it's a demonstration of why benchmark and conformance-suite gaming matter, and is not recommended for production.

Related event: Parody 'ultrafast' Python Type Checker Cheats with Hardcoded Answers(2 posts)→

Original post →

More from Fun

Fun channel →